[ 
https://issues.apache.org/activemq/browse/CAMEL-2423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57260#action_57260
 ] 

Frank Schwarz commented on CAMEL-2423:
--------------------------------------

Both components work fine in my environment. So no action is needed here. (Both 
velocity and string-template make use of ResourceBasedEndpoint#getResource() 
which eventually delegates to some spring magic.)

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

Reply via email to