Since you work with the low level Exchange, you need to done it if you want
it to move the files.
exchange.getUnitOfWork().done(exchange);

This is done automatic for you in Camel 2.5 onwards if you use, eg
receiveBody instead

Object body = consumer.redeveiveBody("uri", xxx);
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Using-ConsumerTemplate-to-fetch-files-tp3304671p3304723.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to