Hello Prabu!

To make it clear, it's not designed to work in the way you use it.
To fulfill your requirement, you should use it in the way described at
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html

Best,
Christian
-----------------

Software Integration Specialist

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Mon, Jun 24, 2013 at 9:50 AM, sprabu <sathiyapr...@gmail.com> wrote:

> Hi,
> Though i'm using the provided uri, its not getting the values from header.
> I
> don't know, why? Please help me to come out of it. Its highly impacting the
> progress of my task. Also validate the given URI, where i'm doing mistake??
>
> <to
>
> uri="smtp://{{SMTP_ADDRESS}}:{{PORT_NUMBER}}?username=${header.USER_EMAIL_ID}&amp;password=${header.MAIL_PWD}&amp;subject=${header.BILLING_EMAIL_SUBJECT}&amp;mail.smtp.starttls.enable=true"
> />
>
> Thanks
> Prabu
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Dynamic-uri-not-working-tp5734434p5734623.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to