camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chirag Dewan <chirag.dewa...@yahoo.in>
Subject pollEnrich all the files in a directory
Date Sun, 04 May 2014 07:38:33 GMT
Hi,

Can I consume all the files in a directory,using poll enrich?

My route would be something like :

from("seda:abc").pollEnrich("file:/path/of/directory?delete=true).to("file:/path/of/output);

And I send requests to the route with null body or blank body. 

context.createProducerTemplate().sendBody("seda:abc",null/"");

BR,

Chirag Dewan
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message