On Fri, Sep 3, 2010 at 3:14 PM, kumaap <[email protected]> wrote: > > I have run the test with Active MQ and it doesn't work . > > It doesnt matter about which JMS provider your using here. But im using > Websphere MQ. > > JMSReplyTo is not a JMS header property as such its is set explicitly with a > javax.jms.Destination object not a string. I don't know how you got your > unittest to work as the code in > org.apache.camel.component.jms.JmsBinding.appendJmsProperty would reject the > property. > > The javax.jms.Message interface > void setJMSReplyTo(javax.jms.Destination destination) throws > javax.jms.JMSException; > > I can create a processor to do this , but its sounds like a simpler to > change the JmsProducer, this does look a like a feature others would use. >
I have created a ticket to track this https://issues.apache.org/activemq/browse/CAMEL-3102 Then it may be easier for you on WebSphereMQ as the JmsProducer will lookup or create the JMSReplyTo destination. > Cheers > Amitesh > -- > View this message in context: > http://camel.465427.n5.nabble.com/Setting-JMS-ReplyTo-tp2800345p2802144.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
