Its set as a property on the Exchange, not a header.

On Fri, Dec 9, 2011 at 11:20 AM, Lars <[email protected]> wrote:
>
> Hi,
>
> Is this a bug?
>
> I got this message when I try to include CamelAggregatedSize in a velocity
> template.
>
> [d #1 - AggregateTimeoutChecker] VelocityEndpoint               DEBUG Null
> reference [template 'org.apache.camel.component.velocity.VelocityEndpoint',
> line 4, column 44] : ${headers.CamelAggregatedSize} cannot be resolved.
>
>
> Template:
> ${headers.timestamp} No of documents sent: ${headers.CamelAggregatedSize}
> Filename:  ${headers.CamelFileName}
>
>
> Regards,
> Lars Stuevold
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/CamelAggregatedSize-not-picked-up-in-Velocity-template-tp5061293p5061293.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.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to