You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Dejan Predovic (JIRA)" <ji...@apache.org> on 2007/09/10 16:17:22 UTC
[jira] Created: (CAMEL-140) XsltBuilder instance not threadsafe and
can't be used more then once.
XsltBuilder instance not threadsafe and can't be used more then once.
---------------------------------------------------------------------
Key: CAMEL-140
URL: https://issues.apache.org/activemq/browse/CAMEL-140
Project: Apache Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 1.1.0
Reporter: Dejan Predovic
XsltBuilder uses a ResultHandler instance variable to hold the result of the transformation. That makes it thread unsafe and at the same time, as it's never cleared/reset, it can't be used more then once.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-140) XsltBuilder instance not threadsafe
and can't be used more then once.
Posted by "James Strachan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Strachan resolved CAMEL-140.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
Great catch! Many thanks Dejan! I've patched this to create a stack-local result instead
> XsltBuilder instance not threadsafe and can't be used more then once.
> ---------------------------------------------------------------------
>
> Key: CAMEL-140
> URL: https://issues.apache.org/activemq/browse/CAMEL-140
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 1.1.0
> Reporter: Dejan Predovic
> Fix For: 1.2.0
>
>
> XsltBuilder uses a ResultHandler instance variable to hold the result of the transformation. That makes it thread unsafe and at the same time, as it's never cleared/reset, it can't be used more then once.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.