camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: camel aop deprecated - what alternative exist
Date Fri, 29 Apr 2011 10:55:45 GMT
On Fri, Apr 29, 2011 at 10:02 AM, Charles Moulliard
<> wrote:
> Hi,
> Since Camel 2.0, the component camel-aop is deprecated. I try to figure out
> which alternative we have to add a pointcut into a camel route
> ex : all my camel routes require that we update the status of the message
> processed into the DB before to publish this message into the queue. To
> achieve that, we can add manually the bean to be called for that purpose
> into the camel route but that we would be better if I can define a pointcut
> before the last processor (in this case the JMS producer) to modify the
> camel route created at runtime
> Is the interceptor the way to go ?

Yeah you can use an interceptors for that. And you can limit based on
endpoint uri, so the interceptor only triggers for JMS endpoints etc.
Or whatever.

> Regards,
> Charles  --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
CamelOne 2011:
Twitter: davsclaus
Author of Camel in Action:

View raw message