Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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}