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


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

Reply via email to