On Thu, May 28, 2009 at 6:12 PM, Arin <[email protected]> wrote: > > Hi, > > Currently,I have two different Mail Queue for two different types of > notification and two corresponding velocity template to create the mail > template. Now my question is: > > 1. How Can we select different velocity template based on the notification > type? You can use the Content Based Router EIP pattern: http://camel.apache.org/content-based-router.html
> 2. How we set from, subject,to and body dynamically to the velocity > template, so that based to the notification I can change the values. See the email sample in the velocity page: http://camel.apache.org/velocity.html > > Kindly suggest. > > Regards, > Arin > -- > View this message in context: > http://www.nabble.com/Need-to-setup-vm-template-dynamically-tp23764960p23764960.html > Sent from the Camel Development mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
