Quantcast

SEDA Request Reply

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

SEDA Request Reply

Edwin
This post has NOT been accepted by the mailing list yet.
Hi Folks,

With reference to http://camel.apache.org/seda.html section Use of Request Reply 

I am curious about the waitForTaskToComplete  option defaulting to IfReplyExpected

IfReplyExpected, only waits if the message is Request Reply based

I'm wondering how I would find out if a message is request reply based?

Thanks,
Edwin



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: SEDA Request Reply

Edwin
Apologies folks - accidentally posted this in the Development forum
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: SEDA Request Reply

boday
In reply to this post by Edwin
its based on the Exchange Pattern being used...internally the SEDA producer is calling ExchangeHelper.isOutCapable(exchange) which returns TRUE if the pattern is NOT InOnly/RobustInOnly

Edwin wrote
Hi Folks,

With reference to http://camel.apache.org/seda.html section Use of Request Reply 

I am curious about the waitForTaskToComplete  option defaulting to IfReplyExpected

IfReplyExpected, only waits if the message is Request Reply based

I'm wondering how I would find out if a message is request reply based?

Thanks,
Edwin
Ben O'Day
IT Consultant -http://consulting-notes.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: SEDA Request Reply

gilboy
Hi

So if I have the following 2 routes:

from(SomeEndpoint).to("seda:endpoint");
from("seda:endpoint".to(SomeOtherpoint");

I have not specified the exchange pattern for the SEDA endpoint. Hence, does it default to something?

Thanks
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: SEDA Request Reply

Christian Mueller
It depends on "SomeEndpoint"...
The message exchange pattern (MEP) is bound to the exchange, not the
enpoint itself.
Each component has a default MEP which is e.g. InOnly for the File
Component, InOut for the HTTP Component, ...
This MEP is used by creating the exchange in the component which receives
the request first. The MEP will only change if you explicitly define it,
e.g. by using inOnly("xxx") instead of to("xxx").

Best,
Christian

On Sun, Jul 1, 2012 at 9:08 AM, gilboy <[hidden email]> wrote:

> Hi
>
> So if I have the following 2 routes:
>
> from(SomeEndpoint).to("seda:endpoint");
> from("seda:endpoint".to(SomeOtherpoint");
>
> I have not specified the exchange pattern for the SEDA endpoint. Hence,
> does
> it default to something?
>
> Thanks
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/SEDA-Request-Reply-tp5715275p5715326.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
Loading...