[ https://issues.apache.org/jira/browse/CAMEL-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Williams updated CAMEL-6708: ----------------------------------- Attachment: patch.txt Introduction of a new method that will copy properties from the AMQP.BasicProperties using a meta-map of method to header name to copy values using reflection. Could be optimized to cache Method[] > 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: Bug > Affects Versions: 2.12.1 > Environment: All > Reporter: Daniel Williams > Attachments: patch.txt > > > 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira