...
Code Block | ||
---|---|---|
| ||
<route> <from uri="activemq:order"/> <bean ref="buildInvoiceBean" method="createInvoice"/> <to uri="activemq:invoice"/> </route> |
Using Processor in XML DSL:
We can incorporate the use of a processor to perform more involved consumption, processing, and translation tasks on a message:
Code Block | ||
---|---|---|
| ||
<route>
<from uri="activemq:order"/>
<process ref="orderInvoiceProcessor"/>
<to uri="activemq:invoice"/>
</route> |