This content has been marked as final.
Show 2 replies
-
1. Re: Using XSLT component with XSL template passed as input message attachment
gertv Jul 24, 2008 12:56 AM (in response to jeltok)L.S.,
Mediation Router has no built-in component that can do this for you, but you can combine some building blocks to achieve this goal.
If you write your own Processor, you can do whatever you want in the process method. If you reuse the existing XsltBuilder class iside the proces(Exchange) method, all you have to is set the transform source (your XSLT attachment as a Source) and call the process() method on the XsltBuilder.
In your RouteBuilder, you just add a process step, refererring to your own Processor.
Regards,
Gert
-
2. Re: Using XSLT component with XSL template passed as input message attachme
jeltok Jul 25, 2008 8:40 PM (in response to jeltok)Thank you,
I took alternative approach and started to use servicemix-saxon component which I call using JBI.
Regards,
Sergey