You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/12 11:08:54 UTC
[jira] [Resolved] (CAMEL-4528) XSLT component - Add JMX to the
endpoint, and expose operations to clear the cache, so resources is forced
to be reloaded
[ https://issues.apache.org/jira/browse/CAMEL-4528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-4528.
--------------------------------
Resolution: Fixed
Assignee: Claus Ibsen
Rich, thanks for the patch.
I added volatile to the boolean, to ensure thread visibility for the state. Likewise the flag should be reset after loading, so you won't keep re-loading it :)
> XSLT component - Add JMX to the endpoint, and expose operations to clear the cache, so resources is forced to be reloaded
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-4528
> URL: https://issues.apache.org/jira/browse/CAMEL-4528
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.9.0
>
> Attachments: camel-4528.patch
>
>
> This allows people to force a re-load of the resources using JMX, but still have cache by default.
> See nabble
> http://camel.465427.n5.nabble.com/Updating-cached-content-without-restart-tp4883378p4883378.html
--
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