camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Message transformation using XML in Spring XML config
Date Fri, 28 Mar 2008 17:44:22 GMT
On 28/03/2008, David Siefert <> wrote:
> Hello,
>  Is there an example of using an XSLT in the Spring XML configuration?

Yes I've just added one here...

the XML is linked below...

>  I have something like the following:
>  <route>
>   <from uri="..." />
>   <to uri="xslt:..." />
>   <!-- *but now what?* -->

if you have an InOut route (e.g. a WS invocation, a request response
over JMS using a JMSReplyTo or via a HTTP POST) then you're done, the
result is returned.

If you are doing one-way messaging, just add another destination for
the result. e.g. another <to/>

>  </route>
>  The XML Schema says I can only have one <to />.

I don't think it does (or rather maybe thats an old XSD you're looking at?)

e.g. see the test XML..


Open Source Integration

View raw message