camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sammm <>
Subject Re: Dynamic XSL from Content
Date Fri, 18 Jan 2013 07:03:05 GMT
The above was working for a hard coded XSL name:

      <setHeader headerName="CamelXsltResourceUri">
      <log message="CamelXsltResourceUri :
      <to uri="xslt:META-INF/xsl/dummy.xsl"/>

what i need to do i dynamically generate the name of the xsl:

      <setHeader headerName="CamelXsltResourceUri">
      <to uri="xslt:META-INF/xsl/dummy.xsl"/>

when i use this i get this error:

javax.xml.transform.TransformerException: Premature end
of file.

i've enable trace and can see for both cases this message:

2013-01-18 06:55:55,482 [y_info/services] DEBUG SpringCamelContext            
- xslt://META-INF/xsl/5.xsl converted to endpoint:
Endpoint[xslt://META-INF/xsl/5.xsl] by component:

The latter (dynamic case) then fails with the above 'end of file' exception.

Any ideas?

Many thanks


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message