[ 
https://issues.apache.org/activemq/browse/CAMEL-539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42933#action_42933
 ] 

Roman Kalukiewicz commented on CAMEL-539:
-----------------------------------------

I had to remove two methods from XsltBuilder so it could use Templates. 
Unfortunately I couldn't find a way to transform Transformer into Template so I 
couldn't leave xslt(Transformer) and <init>(Transformer) methods.

If there is someone who knows how to do it, lets advice. I don't think they are 
very crucial, but it is nice to have backward compatibility ;)

> XsltBuilder synchronizes on process method making performance bad on XSLTs
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-539
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-539
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Roman Kalukiewicz
>            Assignee: Roman Kalukiewicz
>
> In heavy load environment XSLT transformations have very bad performance.
> I propose to use javax.xml.transform.Templates object to produce separate 
> Transformers for every execution.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to