[ 
https://issues.apache.org/activemq/browse/CAMEL-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51486#action_51486
 ] 

Claus Ibsen commented on CAMEL-1569:
------------------------------------

Added support for intercept() that works like you would expect an interceptor 
that is applied at each route step

trunk: 770908.

See updated wiki as well:
http://cwiki.apache.org/confluence/display/CAMEL/Intercept

There are still some work to add support for {{when}} predicate and {{stop}}. 
The old code was a bit nasty so its time for house cleaning as well.

> InterceptStrategy - add some sugar to make it easier for end users to use it
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-1569
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1569
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> The InterceptStrategy interface is bound to using Processor etc and we do not 
> have any easy support in the DSL itself to define your own custom 
> interceptors.
> And an idea is to bridge it to allow it to do custom routing as well. Can be 
> used to detour for certain conditions, such as a message having some odd data.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to