Hi

What version of Camel and Velocity are you using?
And what else have you configured in velocity.properties?
And do you see this issue during high concurrency (eg processing many
messages concurrently)
Did it work before?
Do you run Camel inside a container such as Tomcat / ServiceMix / Karaf etc?


On Tue, Jul 3, 2012 at 1:16 AM, paramjyotsingh <[email protected]> wrote:
> I am trying to use velocity template to  generate Email for error
> notification with configuration as below:
>
> <camel:route trace="true">
>      <camel:from uri="direct:failureProcessing" />
>      <camel:to
> uri="velocity:test/template/sampleEmail.vm?propertiesFile=velocity.properties"/>
>      <camel:to uri="direct:sendEmail" />
> </camel:route>
>
> But I somehow it is failing and I am not able to get complete stacktrace of
> exception. I am getting a INFO message in log
>
> org.apache.camel.component.velocity.VelocityEndpoint  ¬ Runtime : ran out of
> parsers. Creating a new one.  Please increment the parser.pool.size
> property. The current value is too small.
>
> In velocity.properties i tried specifying parser.pool.size=20.
>
> Does this message in log has something to do with failure.
>
> Please help me I am stuck and I am not getting stackTrace to figure out
> problem.
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-Velocity-Template-throwing-error-tp5715388.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to