Umar Hussain created NIFI-12411:
-----------------------------------
Summary: PublishAMQP: Put header values from attributes by
matching Regex
Key: NIFI-12411
URL: https://issues.apache.org/jira/browse/NIFI-12411
Project: Apache NiFi
Issue Type: Improvement
Components: Core Framework
Affects Versions: 1.23.2
Reporter: Umar Hussain
Assignee: Umar Hussain
Fix For: 1.24.0, 1.25.0, 2.0.0
The focus of this ticket is to extend the PublishAMQP processor so that it can
take FlowFile attributes by matching a Regex and then put these attributes as
`headers` map in AMQP message.
Default behavior of the processor stays the same as version `1.23.2` i.e. it
will by default read headers from `amq$headers` attribute and put them in the
AMQP message.
For Regex based match of attributes, a new property is needed which can switch
between reading from `amq$headers` or put attributes matching the Regex, or it
can read from both sources.
In case headers can be read from both sources, an additional property is needed
to set precedence of the source so that if a key is found in both sources,
which will be set in output.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)