camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Grzybek <gr.grzy...@gmail.com>
Subject Re: XMLConstants.FEATURE_SECURE_PROCESSING feature setting in jboss-fuse-6.1
Date Wed, 30 Apr 2014 07:52:27 GMT
Fuse 6.1 uses Camel 2.12, Fuse 6.0 used Camel 2.10.

Look at https://issues.apache.org/jira/browse/CAMEL-7123 - from Camel 2.11
Camel sets:

factory.setFeature(javax.xml.XMLConstants.FEATURE_SECURE_PROCESSING, true);

if you want to change this behaviour, configure your XSLT endpoint by
referencing your own transformerFactory like this:

.to("xslt:template.xslt?transformerFactory=#myNonSecureTransformerFactory");

Where "myNonSecureTransformerFactory" is e.g., spring bean in camel spring
xml config or generally correct object in Camel's registry.

regards
Grzegorz Grzybek


2014-04-30 9:09 GMT+02:00 bharadwaj <bharadwaj2012@gmail.com>:

> The solution is not proper.. and it's perfectly working in jboss fuse 6.0
> even with same version.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/XMLConstants-FEATURE-SECURE-PROCESSING-feature-setting-in-jboss-fuse-6-1-tp5750712p5750715.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message