You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/02 14:37:41 UTC

[jira] [Resolved] (CAMEL-4732) Allow camel-freemarker template cache duration to be specified

     [ https://issues.apache.org/jira/browse/CAMEL-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-4732.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.9.0

Applied patch with thanks to Rich.
                
> Allow camel-freemarker template cache duration to be specified
> --------------------------------------------------------------
>
>                 Key: CAMEL-4732
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4732
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-freemarker
>            Reporter: Rich Newcomb
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.9.0
>
>         Attachments: camel-4732-freemarker-mod.patch, camel-4732-freemarker.patch
>
>
> The camel-freemarker component supports caching of template files; however, the cache period that is applied is always 5 seconds -- which is the default cache delay defined in the FreeMarker Configuration.  This short cache window seems incongruent with likely uses of FreeMarker within a Camel route.  Camel should allow the template cache duration to be specified as part of the component's URI definition so that longer cache periods can be configured in a route.

--
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