Thank you Claus,
if I understood right then my route should change like this:

   from("direct:myRoute") 
       .transacted() 
       .id("MyRoute") 
      
.pollEnrich().simple("file://folder?fileName=filename_${header:date}.txt")
       .process(new MyProcessor())

But nothing changed really.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Dynamic-from-and-pollEnrich-tp5799032p5799105.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to