[
https://issues.apache.org/jira/browse/CAMEL-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joshua Watkins updated CAMEL-3824:
----------------------------------
Attachment: cometd_headers_support_noDotpatch.txt
Patch with the header name being "CamelHeaders"
> 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,
> cometd_headers_support_noDotpatch.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