You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Joshua Watkins (JIRA)" <ji...@apache.org> on 2011/09/25 23:57:27 UTC

[jira] [Updated] (CAMEL-3824) Allow cometd component to send message headers with the message

     [ 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