2 Replies Latest reply on Aug 3, 2010 9:26 AM by Rocky S

    Change Smooks compatible example to JBoss ESB compatiable example?

    Rocky S Master

      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?