I'm new to Camel but interested if my proposal makes sence. So here is the
solution I suggest:

I would copy A to a header variable for later use.
B requires A to be in the message body so that's ok. The XSLT B will put
the result of the transformation in the body.
put C also in the header and put A in the body. [
.setHeader(simple("body")) ]
Call D. From the XSLT documentation I understand that all message headers
are passed as parameters so C will be available as parameter in the
transformation.

I'm also interested in other (easier) solutions.
good luck.
Walter

2012/5/25 javakurious <javakuri...@gmail.com>

> Hi All,
>
> I need some help in configuring route in Spring DSL for my project. Here is
> the scenario:
>
> http://camel.465427.n5.nabble.com/file/n5713528/route.png
>
> It is sort of an ugly diagram but hopefully the explanation will help to
> understand it.
>
> (A) is where xml message is coming from user. Once I route it through B and
> C, the output xml document is very different than the input document. I
> want
> to know how can I define the route so that the xslt processor D  is reading
> the original input from A, and using the output of C as the parameter.
>
> Let me know if the question even makes sense.
>
> I will appreciate any help.
>
> Thanks
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-route-configuration-help-tp5713528.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to