Which version of Camel do you use?
Which JMS provider do you use?
Best,
Christian
On Thu, May 3, 2012 at 5:30 PM, bjacob <
[hidden email]> wrote:
> Hello -
>
> Is there a difference between the following 2 pieces of code?
>
> I get "The OUT message was not received within: 20000 millis." error for
> the
> second one.
>
> It seems like setting the exchange pattern in the URL doesn't work.
>
> ========first============================
> from("jms:queue:CallBackListNotification.Request")
> .setExchangePattern(ExchangePattern.InOnly)
> .to("jms:queue:CallBackListNotification.Response?exchangePattern=InOnly");
> ====================================
>
>
> ========second============================
> from("jms:queue:CallBackListNotification.Request")
> .to("jms:queue:CallBackListNotification.Response?exchangePattern=InOnly");
> ====================================
>
> Thanks & Regards
> Boney Jacob
>
>
> --
> View this message in context:
>
http://camel.465427.n5.nabble.com/ExchangePattern-InOnly-for-JMS-component-tp5683515.html> Sent from the Camel - Users mailing list archive at Nabble.com.
>