And you are sure the file exist at that location with that name? I have
done pollEnrich with file before and that has worked.

Can you log the headers before the poll enrich and post it?

Den 8 maj 2017 4:47 em skrev "geppo [via Camel]" <
ml+s465427n5799112...@n5.nabble.com>:

> Thanks souciance,
> yes I have header where I store the date, as per my original post:
>
> "I want to trigger this route from a restful where the date part of the
> file is specified in input i.e.
>
>    template.sendBodyAndHeaders("direct:myRoute", null, "header:date",
> "20170508")
> "
>
> I've tried ${headers.date} as well as ${header.date} as well as
> ${in.header.date} as well as ${in.headers.date}... no luck.
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://camel.465427.n5.nabble.com/Dynamic-from-and-
> pollEnrich-tp5799032p5799112.html
> To start a new topic under Camel - Users, email ml+s465427n465428h31@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=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=>
> .
> 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-from-and-pollEnrich-tp5799032p5799120.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to