camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Somchai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5381) Exchange's headers lost after pass through dynamicRouter if the consume from activemq
Date Thu, 21 Jun 2012 07:53:43 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-5381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398263#comment-13398263
] 

Somchai  commented on CAMEL-5381:
---------------------------------

Seem like ConvertBodyProcessor does not changes the Message type (from JMSMessage to DefaultMessage),
then I found this workaround instead (used of class SetBodyProcessor)

.setBody(body(String.class))

Any mistakes please do correct me.
                
> Exchange's headers lost after pass through dynamicRouter if the consume from activemq
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5381
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5381
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-activemq
>    Affects Versions: 2.8.5, 2.9.2, 2.10.0
>            Reporter: Somchai 
>            Assignee: Claus Ibsen
>             Fix For: 2.8.6, 2.9.3, 2.10.1, 2.11
>
>         Attachments: DynamicRoutersWithJMSMessageLostHeadersIssueTest.java
>
>
> Please see the unit test below, if consume from other endpoint such as direct, things
work properly but does not when consume from activemq

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message