You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Preben Asmussen (Updated) (JIRA)" <ji...@apache.org> on 2011/10/14 17:40:12 UTC

[jira] [Updated] (CAMEL-4540) Unable to convert jms textmessage to bytemessage

     [ https://issues.apache.org/jira/browse/CAMEL-4540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Preben Asmussen updated CAMEL-4540:
-----------------------------------

    Attachment: jmsbug.zip

testcase showing the problem
                
> Unable to convert jms textmessage to bytemessage
> ------------------------------------------------
>
>                 Key: CAMEL-4540
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4540
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.8.1
>         Environment: Linux, Windowns
>            Reporter: Preben Asmussen
>         Attachments: jmsbug.zip
>
>
> When receiving a jms textmessage and just forward it to a another queue as a jms bytemessage the original textmessage is sendt without being converted to a jms bytemessage. 
> JmsBinding.makeJmsMessage seems to use the exchange headers to determine of a new jms message should be created or the original send.
> Exchange headers seems to be populated if you do routing or set a dummy header.
> See http://camel.465427.n5.nabble.com/Convert-jms-message-from-textmessage-to-bytemessage-tc4895362.html
> /preben

--
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