Finally I made it using content enricher, <route> <from uri="file://c:/temp/in"/> <to uri="file://c:/temp/schedule"/> <-this override the file, so I always get the last one. </route>
<route> <from uri="timer...."/> <pollEnrich uri="file:c://temp/schedule?noop=true&fileName=schedule.xml"/><--this don't consume the file, so I have always the message. <to uri="......"/> </route> Finally I use file component, because its easier for users to open a simple xml file to see the message. Many thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Keep-the-same-message-in-a-queue-after-consuming-it-tp5739214p5739245.html Sent from the Camel - Users mailing list archive at Nabble.com.