You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2012/07/16 18:27:36 UTC

[jira] [Created] (CAMEL-5450) XSLT calls newTransformer per request

Daniel Kulp created CAMEL-5450:
----------------------------------

             Summary: XSLT calls newTransformer per request
                 Key: CAMEL-5450
                 URL: https://issues.apache.org/jira/browse/CAMEL-5450
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.9.2
            Reporter: Daniel Kulp
            Assignee: Daniel Kulp
             Fix For: 2.9.3, 2.10.1



The XSLT component calls getTemplate().newTransformer() for every request.  newTransformer is a synchronized call in Xalan and is causing performance issues with blocked threads with many small requests/responses.  It would be good to support a cache of transformers that can be reused.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-5450) XSLT calls newTransformer per request

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CAMEL-5450.
--------------------------------

    Resolution: Fixed
    
> XSLT calls newTransformer per request
> -------------------------------------
>
>                 Key: CAMEL-5450
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5450
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.9.2
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.9.3, 2.10.1
>
>
> The XSLT component calls getTemplate().newTransformer() for every request.  newTransformer is a synchronized call in Xalan and is causing performance issues with blocked threads with many small requests/responses.  It would be good to support a cache of transformers that can be reused.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira