Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagexml
<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>

...