...
The dynamic nature of this pattern will allow for a flexible, efficient, predictive routing model that eliminates the maintenance dependency of a message router.
Dynamic Router using XML DSL with Bean
Code Block | ||
---|---|---|
| ||
<route> <from uri="direct:input"/> <dynamicRouter> <!-- use a method call on a bean as dynamic router --> <method beanType="com.bean.MyRoutingBean" method="findRoute"/> </dynamicRouter> </route> |
...