Oh it was a private method. Thought you meant in the api. I suppose I should
do the manual handover then. Just pasting here for future reference:

if (exchange.getUnitOfWork() == null) {
        // handover completions and done them manually to ensure they are being
executed
        List<Synchronization> synchronizations = exchange.handoverCompletions();
        UnitOfWorkHelper.doneSynchronizations(exchange, synchronizations, LOG);
} else {
        // done the unit of work
        exchange.getUnitOfWork().done(exchange);
}
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Using-ConsumerTemplate-to-fetch-files-tp3304671p3304774.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to