camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kumaap <amitesh.a.ku...@gmail.com>
Subject Re: Setting JMS ReplyTo
Date Fri, 03 Sep 2010 09:11:28 GMT

Hi,

I don't know how you got the unit test to work as its not running with camel
2.4 . I can see why JMSReplyTo should be a destination object but the unit
test its a string.

The JmsBinding.makeJmsMessage executes the appendJmsProperties

"
else if (headerName.equals("JMSReplyTo") && headerValue != null) {
               
jmsMessage.setJMSReplyTo(ExchangeHelper.convertToType(exchange,
Destination.class, headerValue));"

There is no converter to convert a string to a destination so it will always
be null.

And you cant just create a Destination object unless you have a JMS Session.

Cheers
Amitesh


 





 




-- 
View this message in context: http://camel.465427.n5.nabble.com/Setting-JMS-ReplyTo-tp2800345p2801917.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message