0

I have requirement where I need to read a message from a queue. queue has body and header and this body and header I want to use in every file read of the next processor.

from("activemq:index.init")
    //.process(new PrintProcessor())
    .from("file:/home/arvind/Desktop/Camel/Index?noop=true&recursive=true").

location

/home/arvind/Desktop/Camel/Index

I have lot of folder and files I want the header (came from activemq) while processing all file and folder.

I tried in print processor to header header from in.header and set in out.header but didn't work.

Thanks

vikingsteve
  • 38,481
  • 23
  • 112
  • 156
Arvind
  • 1,207
  • 6
  • 27
  • 55

0 Answers0