mirror of
https://github.com/apache/nifi.git
synced 2025-02-28 06:29:25 +00:00
NIFI-484 EvaluateJsonPath: always overwrites content
Signed-off-by: Mark Payne <markap14@hotmail.com>
This commit is contained in:
parent
2b21b46501
commit
4a16845309
@ -269,6 +269,7 @@ public class EvaluateJsonPath extends AbstractJsonPathProcessor {
|
|||||||
switch (destination) {
|
switch (destination) {
|
||||||
case DESTINATION_ATTRIBUTE:
|
case DESTINATION_ATTRIBUTE:
|
||||||
jsonPathResults.put(jsonPathAttrKey, resultRepresentation);
|
jsonPathResults.put(jsonPathAttrKey, resultRepresentation);
|
||||||
|
break;
|
||||||
case DESTINATION_CONTENT:
|
case DESTINATION_CONTENT:
|
||||||
flowFile = processSession.write(flowFile, new OutputStreamCallback() {
|
flowFile = processSession.write(flowFile, new OutputStreamCallback() {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user