Re: ExchangePattern.InOut ActiveMQ problem

2012-05-03 Thread frankie_hr
Hi, Thank you both for your replies! I managed to get it running using the .setExchangePattern(ExchangePattern.InOut) instead of .inOut(). Regards, Franjo -- View this message in context: http://camel.465427.n5.nabble.com/ExchangePattern-InOut-ActiveMQ-problem-tp5680362p5682604.html Sent from t

Re: ExchangePattern.InOut ActiveMQ problem

2012-05-02 Thread Claus Ibsen
On Wed, May 2, 2012 at 4:42 PM, Stefan Burkard wrote: > I think you can use ".setExchangePattern(ExchangePattern.InOut)" > instead of the deprecated ".inOut()" > Yes thats what we favor setExchangePattern to change the pattern from this point forward to(pattern, uri) to use a specific pattern fo

Re: ExchangePattern.InOut ActiveMQ problem

2012-05-02 Thread Stefan Burkard
I think you can use ".setExchangePattern(ExchangePattern.InOut)" instead of the deprecated ".inOut()" Cheers Stefan On Wed, May 2, 2012 at 2:22 PM, frankie_hr wrote: > Hi All, > > I have an issue with returning an object back to the caller while using the > ProducerTemplate.requestBody() method

ExchangePattern.InOut ActiveMQ problem

2012-05-02 Thread frankie_hr
Hi All, I have an issue with returning an object back to the caller while using the ProducerTemplate.requestBody() method and ActiveMQ since I upgraded to more recent versions of Camel (2.9.2) and ActiveMQ (5.5.1). I didn't have such problems earlier when using Camel 2.5.0 and ActiveMQ 5.4.2, but