[ https://issues.apache.org/jira/browse/CAMEL-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114508#comment-13114508 ]
Claus Ibsen commented on CAMEL-3824: ------------------------------------ Hi Joshua Nice patch. Would it be possible to use a different key for the headers? {code} public static final String HEADERS_FIELD = "camel.headers"; {code} We have a convention with Camel to use CamelCaseKeys, such as "CamelHeaders". Using dots, in header keys is not permitted in the JMS spec, and thus causes problem when people uses JMS. > 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 > Fix For: 2.9.0 > > 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