Hello Claus ! thanks for the quick answer.
I've changed the code to use a consumerTemplate instead of a pollingConsumer, so as to use the doneUoW method. So the changed code is : String uri = buildFullUri(baseUrl, fileName); ConsumerTemplate template = exchange.getContext().createConsumerTemplate(); Exchange result = template.receive(uri, DEFAULT_TIMEOUT); GenericFile body = result.getIn().getBody(GenericFile.class); template.doneUoW(exchange); template.stop(); Unfortunately, it didn't change the issue, on the second time I poll the endpoint, I still got : [TRACE] remote.FtpConsumer Skipping as file is already in progress: request_1.xml -- View this message in context: http://camel.465427.n5.nabble.com/inProgressRepository-not-cleaned-in-GenericFileEndpoint-tp4722713p4723141.html Sent from the Camel - Users mailing list archive at Nabble.com.
