THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The transformation can be configured using any JAXP Source or using a Spring Resource to the XSL file.
Example
There is an example which demonstates a pipeline from a message source, to a transformation, to send the message along with tracing the operation.
...
Wiki Markup |
---|
{snippet:id=receive|lang=xml|url=http://cvssvn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/components/xslt/example.xml?rev=HEAD} |
Transforming the message using XSLT
Wiki Markup |
---|
{snippet:id=xslt|lang=xml|url=http://cvssvn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/components/xslt/example.xml?rev=HEAD} |
Sending the result to a different JMS topic
Wiki Markup |
---|
{snippet:id=send|lang=xml|url=http://cvssvn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/components/xslt/example.xml?rev=HEAD} |
Subscribing to the topic and pipelining it to a trace component to demonstrate the pipeline working
Wiki Markup |
---|
{snippet:id=log|lang=xml|url=http://cvssvn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/components/xslt/example.xml?rev=HEAD} |