12.5. Process Transformation Configuration

This is an example of how to configure a transformation.
<actions mep="OneWay"> 
  <action class="org.jboss.soa.esb.actions.SystemPrintln" name="print-before"> 
    <property name="message" value="[transform_XML2XML_simple] Message before transformation"> 
    </property> 
  <action class="org.jboss.soa.esb.smooks.SmooksAction" name="simple-transform"> 
    <property name="smooksConfig" value="/smooks-res.xml"> 
    <property name="reportPath" value="/tmp/smooks_report.html"> 
    </property> 
  <action class="org.jboss.soa.esb.actions.SystemPrintln" name="print-after"> 
    <property name="message" value="[transform_XML2XML_simple] Message after transformation"> 
    </property>
Line 1
mep stands for message exchange pattern. In this example, the requester invokes a service by sending it a message.
Lines 2-4
These configurations allow the message to be written to the server log before and after its transformation.
Line 5
This is where the SmooksAction is specified.
Line 6
This is where the XLST is specified.
Line 7
Generates a rep[ort of the transformation.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.