[
https://issues.apache.org/jira/browse/CAMEL-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-6708.
--------------------------------
Resolution: Fixed
Thanks for the patch.
> camel-rabbitmq component RabbitMQConsumer.RabbitConsumer#handleDelivery does
> not handle AMQP.BasicProperties
> ------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-6708
> URL: https://issues.apache.org/jira/browse/CAMEL-6708
> Project: Camel
> Issue Type: Improvement
> Affects Versions: 2.12.0
> Environment: All
> Reporter: Daniel Williams
> Assignee: Claus Ibsen
> Fix For: 2.12.2, 2.13.0
>
> Attachments: rabbit_mq_consumer_headers.diff
>
>
> RabbitMQConsumer.RabbitConsumer#handleDelivery currently does not handle
> AMQP.BasicProperties as sent from the RabbitMQ client library and passed onto
> the consumer. This poses a problem for downstream functionality.
> e.g.
> post a message to a queueA
> configure camel as from(queueA).to(queueB).end();
> pull a message from queueB
> deserialize
> If the message was pushed with header information such as Type it will be
> stripped off as the RabbitMQConsumer.RabbitConsume#handleDelivery is invoked
> cause the RabbitMQProducer to transmit to queueB without the header
> information.
--
This message was sent by Atlassian JIRA
(v6.1#6144)