[
https://issues.apache.org/jira/browse/NIFI-7865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Seda Dogan reassigned NIFI-7865:
--------------------------------
Assignee: Seda Dogan
> amqp$header is splitted in the wrong way for "," and "}"
> --------------------------------------------------------
>
> Key: NIFI-7865
> URL: https://issues.apache.org/jira/browse/NIFI-7865
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.12.0
> Environment: rabbbitmq 3.7.7
> nifi 1.12.0
> Reporter: Tobias Kellermann
> Assignee: Seda Dogan
> Priority: Major
> Labels: amqp, publish
>
> 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
> {code:java}
> headers: {code}
> {code:java}
> encoding: UTF-8
> objectid: (226
> preprocessing: false
> type: XML
> {sender: erp-send{code}
> but it should be
> {code:java}
> headers:
> encoding: UTF-8
> objectid: (226,0,0)
> preprocessing: false
> type: XML
> sender: erp-send{code}
> 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 ",",
--
This message was sent by Atlassian Jira
(v8.3.4#803005)