You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 30 Next »

The XsltComponent will perform an XSLT transformation of an inbound NormalizedMessage and generate an output message as a NormalizedMessage.

If the component is given an InOut message exchange, then the 'out' message is used. Otherwise if an InOnly is used then the component will create a new InOnly message exchange for the result of the transformation.

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.

Receiving the message from a JMS topic

Error formatting macro: snippet: java.lang.NullPointerException

 

Transforming the message using XSLT

Error formatting macro: snippet: java.lang.NullPointerException

 

Sending the result to a different JMS topic

Error formatting macro: snippet: java.lang.NullPointerException

 

Subscribing to the topic and pipelining it to a trace component to demonstrate the pipeline working

Error formatting macro: snippet: java.lang.NullPointerException

 

  • No labels