/
XML DSL (Dynamic Router)
XML DSL (Dynamic Router)
In some situations, we may need to route our messages based on a list of destinations that have been created dynamically, For these types of situations we can use a Dynamic Router that can utilize a self-configuration using a dynamic recipient list. This can be linked to a data store that contains a set of destinations.
In the following example, we see the implementation of an XML DSL Dynamic Router pattern to determine our destinations through the use of a processor.
XML DSL Example
<route>
<from uri="jms:queue:order"/>
<process ref="myDynamicRouter"/>
<recipientList>
<header>destinations</destinations>
</recipientList>
</route>
, multiple selections available,
Related content
Guide to Java DSL (Dynamic Router)
Guide to Java DSL (Dynamic Router)
More like this
XML DSL Recipient List (Dynamic Router)
XML DSL Recipient List (Dynamic Router)
More like this
Guide to XML DSL (Content-based Router)
Guide to XML DSL (Content-based Router)
More like this