camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-2742) camel-jms - Sending to WebSphereMQ must use specific setBooleanProperty methods to set JMS properties
Date Fri, 21 May 2010 14:21:52 GMT

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

Claus Ibsen resolved CAMEL-2742.
--------------------------------

    Resolution: Fixed

trunk: 947018.

> camel-jms - Sending to WebSphereMQ must use specific setBooleanProperty methods to set
JMS properties
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2742
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2742
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.2.0, 2.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.4.0
>
>
> This code in JMSBinding
> {code}
>                 // must encode to safe JMS header name before setting property on jmsMessage
>                 String key = jmsKeyFormatStrategy.encodeKey(headerName);
>                 jmsMessage.setObjectProperty(key, value);
> {code}
> Should detect the value type and use the jmsMessage.setBooleanProperty() and so on. Otherwise
IBM thrown an exception.
> See nabble
> http://old.nabble.com/jmsbinding-problem-ts28620489.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message