camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Schwarz (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-2423) Freemarker template not found due to wrong classloader
Date Fri, 29 Jan 2010 17:58:32 GMT

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

Frank Schwarz updated CAMEL-2423:
---------------------------------

    Attachment: freemarker-2.patch

Based on my investigations about velocity and string-template I created a different patch
for the freemarker component. It is now based on ResourceBasedComponent and makes use of the
inherited getResourceLoader() method. This patch is now more "Camel-like".

> Freemarker template not found due to wrong classloader
> ------------------------------------------------------
>
>                 Key: CAMEL-2423
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2423
>             Project: Apache Camel
>          Issue Type: Improvement
>    Affects Versions: 1.5.0, 1.6.0, 2.0-M1, 1.6.1, 1.6.2, 2.0-M2, 2.0-M3, 2.0.0, 2.1.0
>            Reporter: Frank Schwarz
>            Assignee: Willem Jiang
>             Fix For: 1.6.3, 2.2.0
>
>         Attachments: freemarker-2.patch, freemarker.patch
>
>
> Freemarker templates are loaded with org.springframework.core.io.Resource-class's classloader.
This does not work when Spring is part of the classloader realm of the application's parent
classloader.
> Proposed patch attached.

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


Mime
View raw message