67.5. XSLT 끝점 사용
다음 형식은 XSLT 템플릿을 사용하여 InOut 메시지 교환에 대한 메시지에 대한 응답을 공식화하는 예입니다(여기서 JMSReplyTo
헤더가 있는 경우).
from("activemq:My.Queue"). to("xslt:com/acme/mytransform.xsl");
from("activemq:My.Queue").
to("xslt:com/acme/mytransform.xsl");
InOnly를 사용하고 메시지를 사용하여 다른 대상으로 보내려면 다음 경로를 사용할 수 있습니다.
from("activemq:My.Queue"). to("xslt:com/acme/mytransform.xsl"). to("activemq:Another.Queue");
from("activemq:My.Queue").
to("xslt:com/acme/mytransform.xsl").
to("activemq:Another.Queue");