You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Rich Newcomb (Created) (JIRA)" <ji...@apache.org> on 2011/12/02 06:49:40 UTC
[jira] [Created] (CAMEL-4732) Allow camel-freemarker template cache
duration to be specified
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
Priority: Minor
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
[jira] [Updated] (CAMEL-4732) Allow camel-freemarker template cache
duration to be specified
Posted by "Daniel Kulp (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated CAMEL-4732:
-------------------------------
Fix Version/s: 2.8.4
> 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.8.4, 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
[jira] [Updated] (CAMEL-4732) Allow camel-freemarker template cache
duration to be specified
Posted by "Rich Newcomb (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rich Newcomb updated CAMEL-4732:
--------------------------------
Attachment: camel-4732-freemarker-mod.patch
Added changes for unit test timeouts to be applied over the initial commit for this issue.
> 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
> 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
[jira] [Updated] (CAMEL-4732) Allow camel-freemarker template cache
duration to be specified
Posted by "Rich Newcomb (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rich Newcomb updated CAMEL-4732:
--------------------------------
Attachment: (was: camel-4732-freemarker.patch)
> 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
>
> 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
[jira] [Resolved] (CAMEL-4732) Allow camel-freemarker template
cache duration to be specified
Posted by "Willem Jiang (Resolved) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (CAMEL-4732) Allow camel-freemarker template
cache duration to be specified
Posted by "Willem Jiang (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161472#comment-13161472 ]
Willem Jiang commented on CAMEL-4732:
-------------------------------------
Applied patch with thanks to Rich.
I will close the JIRA when the wiki is updated.
> 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
> Attachments: 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
[jira] [Updated] (CAMEL-4732) Allow camel-freemarker template cache
duration to be specified
Posted by "Rich Newcomb (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rich Newcomb updated CAMEL-4732:
--------------------------------
Attachment: camel-4732-freemarker.patch
Changed update delay applied in unit test so that it verifies a change from the default value.
> 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
> Attachments: 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
[jira] [Updated] (CAMEL-4732) Allow camel-freemarker template cache
duration to be specified
Posted by "Rich Newcomb (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rich Newcomb updated CAMEL-4732:
--------------------------------
Attachment: camel-4732-freemarker.patch
Patch attached. Will update wiki upon commit.
> 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
> Priority: Minor
> Attachments: 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
[jira] [Commented] (CAMEL-4732) Allow camel-freemarker template
cache duration to be specified
Posted by "Rich Newcomb (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161616#comment-13161616 ]
Rich Newcomb commented on CAMEL-4732:
-------------------------------------
The wiki is updated. Thanks Willem for the commit.
> 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
> 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
[jira] [Assigned] (CAMEL-4732) Allow camel-freemarker template
cache duration to be specified
Posted by "Willem Jiang (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang reassigned CAMEL-4732:
-----------------------------------
Assignee: Willem Jiang
> 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
> Attachments: 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