Yes. I'm sure. The code is working. All this code is inside a bean not in my
route builder class. From the route builder, i generate the email, pass the
template to velocity and send email. 

The code is working because i send the email to myself and i can see the
body of the email as i said before: 

Template

*
Dear ${headers.name}

You request ${headers.itemList.size} items

#foreach(${item} in ${headers.itemList})
 Item ${item.description} - ${item.price}          
#end *

Email
*
Dear George

You request ${headers.itemList.size} items 

/(the item list should go here)/
*




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Velocity-pass-ArrayList-tp5771027p5771054.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to