turcsanyip edited a comment on pull request #4552:
URL: https://github.com/apache/nifi/pull/4552#issuecomment-700496947
@themanifold Could you please clarify your use case and the problem you
would like to solve in more detail?
If I understand correctly, `ConsumeAMQP` can emit the following
`amqp$headers` attribute values (as strings):
- `{a=1}` if there is 1 key=value pair in the message headers
- `{a=1,b=2}` if there are 2 key=value pairs in the headers of the received
message
- `{}` if the headers of the received message is empty
And you would like `PublishAMQP` to be able to parse these strings properly.
Eg. in case of `{a=1,b=2}`, remove the curly braces and add 2 headers (`a=1`
and `b=2`), and in case of `{}`, no headers need to be added.
So your flow is `ConsumeAMQP` (from a queue) => process data =>
`PublishAMQP` (to another queue with keeping the same headers). Is my
understanding correct?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]