Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.12.0
-
rabbbitmq 3.7.7
nifi 1.12.0
-
Patch, Important
Description
I have connected the both processors ConsumeAMQP and PublishAMQP.
When I get a Message from the queue the following attribute
amqp$headers value = {sender=erp-send, preprocessing=false, encoding=UTF-8, type=XML, objectid=(226,0,0)}
is set. I would like publish this message with the same Header but the values of the header in rabbitmq is
headers:
encoding: UTF-8
objectid: (226
preprocessing: false
type: XML
{sender: erp-send
but it should be
headers:
encoding: UTF-8
objectid: (226,0,0)
preprocessing: false
type: XML
sender: erp-send
The problem seems to in the class org.apache.nifi.amqp.processors.PublishAMQP in the function private Map<String, Object> validateAMQPHeaderProperty(String amqpPropValue) because of the spit only with ",",
Attachments
Issue Links
- links to