[ https://issues.apache.org/jira/browse/CAMEL-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Watkins updated CAMEL-3824: ---------------------------------- Attachment: cometd_header_support_patch.txt Patch contains fixes for adding in header support to camel messages. Additionally, it adds cometd client id to messages coming in through cometd. > Allow cometd component to send message headers with the message > ---------------------------------------------------------------- > > Key: CAMEL-3824 > URL: https://issues.apache.org/jira/browse/CAMEL-3824 > Project: Camel > Issue Type: Improvement > Affects Versions: 2.6.0 > Reporter: Joshua Watkins > Priority: Minor > Attachments: cometd_header_support_patch.txt > > > Currently the cometd component ignores message headers. > ====== > Code snippet from CometdConsumer.java: > Message message = new DefaultMessage(); > message.setBody(data); > Exchange exchange = endpoint.createExchange(); > exchange.setIn(message); > ====== > Exchange message headers should be maintained (perhaps with a flag?). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira