[ 
https://issues.apache.org/jira/browse/SYNAPSE-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746418#action_12746418
 ] 

Ruwan Linton commented on SYNAPSE-572:
--------------------------------------

Further, we no more need the recreate boolean variable, because now it is 
provided through a method and every time we use it we need to update the value 
of by calling that method, so we can directly use the method inside the 
conditional statement.

> XSLT Mediator possibility of creating multiple Templates by mutiple threads
> ---------------------------------------------------------------------------
>
>                 Key: SYNAPSE-572
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-572
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Supun Kamburugamuva
>            Assignee: Ruwan Linton
>         Attachments: synapse-572.patch
>
>
> With the current code multiple threads can create the XSLT template after 
> seeing that the cache has expired. Also we are always doing a synchronization 
> for creating the template which can be costly. 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to