Have you looked at the link Claus send? http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html
You cannot use dynamic uri in a <to>. You have to us reciepientlist for it. ________________________________ Van: sprabu [via Camel] [ml-node+s465427n5734623...@n5.nabble.com] Verzonden: maandag 24 juni 2013 9:50 Aan: Wuyts Diether Onderwerp: Re: Dynamic uri not working 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}&password=${header.MAIL_PWD}&subject=${header.BILLING_EMAIL_SUBJECT}&mail.smtp.starttls.enable=true" /> Thanks Prabu ________________________________ If you reply to this email, your message will be added to the discussion below: http://camel.465427.n5.nabble.com/Dynamic-uri-not-working-tp5734434p5734623.html To start a new topic under Camel - Users, email ml-node+s465427n465428...@n5.nabble.com To unsubscribe from Camel - Users, click here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=ZGlldGhlci53dXl0c0BvcHRpcy5iZXw0NjU0Mjh8OTE4NjI3OTg5>. NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-uri-not-working-tp5734434p5734632.html Sent from the Camel - Users mailing list archive at Nabble.com.