Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AEA7013FD for ; Sun, 24 Apr 2011 15:44:44 +0000 (UTC) Received: (qmail 2753 invoked by uid 500); 24 Apr 2011 15:44:44 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 2710 invoked by uid 500); 24 Apr 2011 15:44:44 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 2701 invoked by uid 99); 24 Apr 2011 15:44:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Apr 2011 15:44:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Apr 2011 15:44:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B0768B0B61 for ; Sun, 24 Apr 2011 15:44:05 +0000 (UTC) Date: Sun, 24 Apr 2011 15:44:05 +0000 (UTC) From: "Fernando Ribeiro (JIRA)" To: dev@camel.apache.org Message-ID: <969381001.78960.1303659845719.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2019098566.75890.1303449065662.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CAMEL-3892) Refresh of the FreeMarker Component MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-3892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13024637#comment-13024637 ] Fernando Ribeiro commented on CAMEL-3892: ----------------------------------------- Can't you work around deleting the existing files and creating new ones, just so to use the *right* name? How come the change about the caching, not to mention the new constants for parameters, the support for global exception handlers, etc, doesn't improve the component? > Refresh of the FreeMarker Component > ----------------------------------- > > Key: CAMEL-3892 > URL: https://issues.apache.org/jira/browse/CAMEL-3892 > Project: Camel > Issue Type: Improvement > Environment: All Camel environments. > Reporter: Fernando Ribeiro > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.8.0 > > Attachments: camel-freemarker.zip, freemarker.patch > > > I've made a number of small changes to the FreeMarker component: > - General re-format > - Added constants for the "encoding" and "contentCache" parameters > - Removed the unused FREEMARKER_RESOURCE constant > - Removed the unnecessary "FREEMARKER_" prefix of the FREEMARKER_RESOURCE_URI and FREEMARKER_TEMPLATE constants > - Removed the unnecessary getExchangePattern method > - Replaced the NoCacheStorage class by a call to a constructor of the Template class, that doesn't use any cache > - Added a default value for the "encoding" parameter (the platform's default) > - Added a specific exception class to support global exception handlers > - Renamed all classes from Free*m*arker (wrong) to Free*M*arker > - Renamed properties from CamelFree*m*arkerResourceUri (wrong) to CamelFree*M*arkerResourceUri and CamelFree*m*arkerTemplate to CamelFree*M*arker > - Replaced isDebugEnabled by log.debug as per CAMEL-3759 > - Improved log messages > All tests run successfully. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira