[ 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.