camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Kettelerij <>
Subject Re: xslt component and URI Resolver
Date Thu, 24 Feb 2011 23:57:59 GMT

Just thinking out lou  about a possible workaround: Camel already provides
the Exchange as a parameter to the XSL Transformer. Therefore you might be
able to access the Exchange using an <xsl:param> from within your XSL
transformation (remember the Exchange is POJO not a simple String or Java
primitive, so it's up to the XSL engine how this gets handled). 

Once you have the Exchange you can access the HttpServletRequest header as
set by the Servlet component. (using the Exchange.HTTP_SERVLET_REQUEST as
described on

Finally you can use the HttpServletRequest inside your XSL to load the
appropriate files.
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message