Using XSLT endpoints

Talend ESB Mediation Developer Guide

EnrichVersion
6.2
EnrichProdName
Talend ESB
task
Design and Development
Installation and Upgrade
EnrichPlatform
Talend ESB

For example you could use something like

from("activemq:My.Queue")
   .to("xslt:com/acme/mytransform.xsl");

To use an XSLT template to formulate a response for a message for InOut message exchanges (where there is a JMSReplyTo header).

If you want to use InOnly and consume the message and send it to another destination you could use the following route:

from("activemq:My.Queue")
   .to("xslt:com/acme/mytransform.xsl")
   .to("activemq:Another.Queue");