camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yiannis Mavroukakis <imavrouka...@gameaccount.com>
Subject Re: InterceptFrom strategy
Date Fri, 27 Aug 2010 09:49:32 GMT
Hmm according to this
http://camel.apache.org/intercept.html

It emulates AOP, as it applies to all the From routes. In your instance it
will be intercepted once as the page for Intercept details, right after the
from("direct").

On 27 August 2010 10:36, Charles Moulliard <cmoulliard@gmail.com> wrote:

> Hi,
>
> I would like to know when we use the InterceptFrom strategy if we create
> two
> exchanges (one for the interceptor and the other for the route) and if the
> processing of the two exchanges is done in parallel or in
> asynchronous way ?
>
> ex :
>
> InterceptFrom().to(log)
>
> from("direct").to("bean:service");
>
> Regards,
>
> Charles Moulliard
>
> Senior Enterprise Architect (J2EE, .NET, SOA)
> Apache Camel - Karaf - ServiceMix Committer
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Blog : http://cmoulliard.blogspot.com |  Twitter :
> http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message