The example above will not write the same file again and again, when you set noop=true camel set idempotent as well. So this line is now: <pollEnrich uri="file:c://temp/schedule?noop=true&idempotent=false&fileName=schedule.xml"/><--this don't consume the file, so I have always the message.
Hope this help. -- View this message in context: http://camel.465427.n5.nabble.com/Keep-the-same-message-in-a-queue-after-consuming-it-tp5739214p5739255.html Sent from the Camel - Users mailing list archive at Nabble.com.