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