Created
January 7, 2010 15:29
-
-
Save edgars/271298 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Use the SAX filter so we can process huge messages... --> | |
| <params> | |
| <param name="stream.filter.type">SAX</param> | |
| </params> | |
| <!-- Capture data from the incoming message into DOM models. These are then avaiable to templating etc... --> | |
| <resource-config selector="Order,OrderLines"> | |
| <resource>org.milyn.delivery.DomModelCreator</resource> | |
| </resource-config> | |
| <!-- For each "OrderLines" fragment, apply a template to the captured DOM models. Bind the templating result | |
| into the bean context under a beanId of "orderLinesFrag" ... --> | |
| <ftl:freemarker applyOnElement="OrderLines"> | |
| <ftl:template>/orderLinesFrag.ftl</ftl:template> | |
| <ftl:use> | |
| <ftl:bindTo id="orderLinesFrag" /> | |
| </ftl:use> | |
| </ftl:freemarker> | |
| <!-- Route the "orderLinesFrag" bean to the ReceiverService... --> | |
| <esbr:routeBean beanIdRef="orderLinesFrag" toServiceCategory="FirstServiceESB" toServiceName="ReceiverService" routeOnElement="OrderLines" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment