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 2010/08/24 12:47:47 UTC
[jira] Created: (CAMEL-3074) Dynamic Routing Slip EIP
Dynamic Routing Slip EIP
------------------------
Key: CAMEL-3074
URL: https://issues.apache.org/activemq/browse/CAMEL-3074
Project: Apache Camel
Issue Type: New Feature
Components: camel-core
Reporter: Claus Ibsen
Fix For: 3.0.0
The routing slip currently requires the slip to be evaluated once.
We should allow a dynamic slip which evaluates on-demand and keep routing until the evaluation returns {{null}} or {{false}}.
Then you can use it as a decision point and as the dynamic router EIP pattern.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-3074) Dynamic Routing Slip EIP
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61498#action_61498 ]
Claus Ibsen commented on CAMEL-3074:
------------------------------------
We will introduce a new {{dynamicRouter}} in the DSL.
This allows you to use for example a bean to compute the next step(s) to do. And Camel will invoke the bean repeatedly until it returns {{null}}.
This allows you to decide during the routing.
The route slip on the other hand, had to compute the entire slip beforehand.
But by using this new {{dynamicRouter}} you can compute the slip on-the-fly.
Just be sure to return {{null}} so the dynamic router know that it should stop. Otherwise it will keep running forever.
> Dynamic Routing Slip EIP
> ------------------------
>
> Key: CAMEL-3074
> URL: https://issues.apache.org/activemq/browse/CAMEL-3074
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 3.0.0
>
>
> The routing slip currently requires the slip to be evaluated once.
> We should allow a dynamic slip which evaluates on-demand and keep routing until the evaluation returns {{null}} or {{false}}.
> Then you can use it as a decision point and as the dynamic router EIP pattern.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-3074) Dynamic Routing Slip EIP
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-3074.
--------------------------------
Fix Version/s: 2.5.0
(was: 3.0.0)
Resolution: Fixed
trunk: 990724.
> Dynamic Routing Slip EIP
> ------------------------
>
> Key: CAMEL-3074
> URL: https://issues.apache.org/activemq/browse/CAMEL-3074
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.5.0
>
>
> The routing slip currently requires the slip to be evaluated once.
> We should allow a dynamic slip which evaluates on-demand and keep routing until the evaluation returns {{null}} or {{false}}.
> Then you can use it as a decision point and as the dynamic router EIP pattern.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CAMEL-3074) Dynamic Routing Slip EIP
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-3074:
----------------------------------
Assignee: Claus Ibsen
> Dynamic Routing Slip EIP
> ------------------------
>
> Key: CAMEL-3074
> URL: https://issues.apache.org/activemq/browse/CAMEL-3074
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 3.0.0
>
>
> The routing slip currently requires the slip to be evaluated once.
> We should allow a dynamic slip which evaluates on-demand and keep routing until the evaluation returns {{null}} or {{false}}.
> Then you can use it as a decision point and as the dynamic router EIP pattern.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.