Patch applied - many thanks!

2008/5/6 misge <[EMAIL PROTECTED]>:
>
>  In order to impove performance you can set this in the velocity source
>  component:
>  and instead of this:
>   public VelocityEngine getVelocityEngine() throws Exception {
>         if (velocityEngine == null) {
>             velocityEngine = component.getVelocityEngine();
>             velocityEngine.init();
>         }
>         return velocityEngine;
>     }
>
>  to this:
>   public VelocityEngine getVelocityEngine() throws Exception {
>         if (velocityEngine == null) {
>             velocityEngine = component.getVelocityEngine();
>             velocityEngine.init();
>             Velocity.setProperty(Velocity.FILE_RESOURCE_LOADER_CACHE,
>  Boolean.TRUE);
>         }
>         return velocityEngine;
>     }
>
>
>  --
>  View this message in context: 
> http://www.nabble.com/Velocity-templating-tp17079359s22882p17079359.html
>  Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to