You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/04/28 08:46:38 UTC
[jira] Created: (CAMEL-1569) InterceptStrategy - add some sugar to
make it easier for end users to use it
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
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.
[jira] Commented: (CAMEL-1569) InterceptStrategy - add some sugar
to make it easier for end users to use it
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51489#action_51489 ]
Claus Ibsen commented on CAMEL-1569:
------------------------------------
Added {{when}} predicate support to {{intercept}}
Trunk: 771041.
> 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.
[jira] Resolved: (CAMEL-1569) InterceptStrategy - add some sugar to
make it easier for end users to use it
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-1569.
--------------------------------
Resolution: Fixed
Added {{stop}} support for the interceptors and in general as well.
trunk: 771227
> 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.
[jira] Assigned: (CAMEL-1569) InterceptStrategy - add some sugar to
make it easier for end users to use it
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-1569:
----------------------------------
Assignee: Claus Ibsen
> 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.
[jira] Commented: (CAMEL-1569) InterceptStrategy - add some sugar
to make it easier for end users to use it
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ 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.