Quantcast

ExchangePattern InOnly for JMS component

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

ExchangePattern InOnly for JMS component

bjacob
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ExchangePattern InOnly for JMS component

Christian Mueller
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.
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ExchangePattern InOnly for JMS component

bjacob
I'm sorry for the late reply.

camel version: 2.4.0
JMS Provider: TIBCO EMS 6.1
Loading...