JBoss Community

Change Smooks compatible example to JBoss ESB compatiable example?

created by Aman S in JBoss ESB Development - View the full discussion

This smooks configuration runs in standalone programs-

 

<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd"
                      xmlns:jms="http://www.milyn.org/xsd/smooks/jms-routing-1.1.xsd"
                      xmlns:ftl="http://www.milyn.org/xsd/smooks/freemarker-1.1.xsd">
 
    <jms:router routeOnElement="order-item" beanId="orderItem_xml" destination="queue.orderItems" />
 
    <ftl:freemarker applyOnElement="order-item">
        <ftl:template>/orderitem-split.ftl</ftl:template>
        <ftl:use>
            <!-- Bind the templating result into the bean context, from where
                 it can be accessed by the JMSRouter (configured above). -->
            <ftl:bindTo id="orderItem_xml"/>
        </ftl:use>
    </ftl:freemarker>
 
</smooks-resource-list>

 

 

I am planning to move this example to JBoss esb. Can some one highlight how it will look like in JBoss ESB smooks config file?

Reply to this message by going to Community

Start a new discussion in JBoss ESB Development at Community