...
Each of these filters follows a similar pattern of events: receives a message on the incoming pipe, processes the message, and then transmits the updated resulting message on the outgoing pipe. The pipe connects one filter to the next, sending output messages from one filter to the next.
Pipes and Filter using XML DSL:
Code Block | ||
---|---|---|
| ||
<route>
<from uri="activemq:order"/>
<to uri="bean:encrypt"/>
<to uri="bean:authenticate"/>
<to uri="bean:duplicates"/>
<to uri="activemq:invoice"/>
</route> |