You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/09/28 21:14:00 UTC

[jira] [Commented] (NIFI-4303) RabbitMQConsumer: Publish the message routing key as an attribute to flowfile

    [ https://issues.apache.org/jira/browse/NIFI-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203525#comment-17203525 ] 

ASF subversion and git services commented on NIFI-4303:
-------------------------------------------------------

Commit 02ee999efbb41ad0bc7c754d3cc322a7a553ce5e in nifi's branch refs/heads/main from doodzio
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=02ee999 ]

NIFI-4303 Add routingKey to ConsumeAMQP processor

Add exchange to ConsumeAMQP processor
Update test
Refactoring tests

This closes #4464.

Signed-off-by: Peter Turcsanyi <tu...@apache.org>


> RabbitMQConsumer: Publish the message routing key as an attribute to flowfile
> -----------------------------------------------------------------------------
>
>                 Key: NIFI-4303
>                 URL: https://issues.apache.org/jira/browse/NIFI-4303
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Mehdi Avdi
>            Assignee: Dominik Hendzel
>            Priority: Major
>         Attachments: Screen Shot 2017-08-17 at 15.35.57.png
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> When retrieving messages from a queue that is bound to a topic exchange, message come with a routing key which might contain crucial identifying information about where the message came from.
> Current implementation of the RabbitMQConsumer processor doesn't publish this property of the message to the attributes of the flowfile it creates. Can this be added?
> I found the relevant code here: https://github.com/apache/nifi/blob/d838f61291d2582592754a37314911b701c6891b/nifi-nar-bundles/nifi-amqp-bundle/nifi-amqp-processors/src/main/java/org/apache/nifi/amqp/processors/AMQPUtils.java#L95
> I have very sketchy Java skills, otherwise would submit a PR.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)