You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/05/21 15:29:54 UTC
[jira] Assigned: (CAMEL-2742) camel-jms - Sending to WebSphereMQ
must use specific setBooleanProperty methods to set JMS properties
[ https://issues.apache.org/activemq/browse/CAMEL-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-2742:
----------------------------------
Assignee: Claus Ibsen
> 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.