I found it - it's the consumer.alwaysConsume=true setting that needed to be there. Now that I know it's deprecated I'd like to ask if there's another way to do it?
padcom wrote: > > Not really - the setup is pretty much complete and the only thing I'm > allowed to change at this moment is the activemq.xml. > > > willem.jiang wrote: >> >> Hi, >> >> Can you try the latest released Camel 1.6.1 ? >> There are some improvement about the file component since Camel 1.5. >> >> Willem >> >> padcom wrote: >>> Hi there, >>> >>> I've got a configuration problem with ActiveMQ and Camel routing. Here's >>> my >>> route: >>> >>> <route> >>> <from uri="file:///C:/Input?delete=true"/> >>> <convertBodyTo type="java.lang.String"/> >>> <to uri="activemq:weather-info"/> >>> </route> >>> >>> Everything works fine until the file names are not duplicated. When the >>> duplication starts (and it starts after an hour because the files I >>> receive >>> are named that way) nothing else gets processed. Unfortunately I have no >>> control over the generation of file names because it is an external >>> system >>> that generates them. >>> >>> I'm using ActiveMQ 5.2.0 as-is from the Apache ActiveMQ download site >>> (meaning with Camel 1.5.0). >>> >>> Thanks in advance, >>> Matthias. >> >> >> > > -- View this message in context: http://www.nabble.com/Camel-File-consumer-and-messages-with-the-same-file-name-tp24924475p24931177.html Sent from the Camel - Users mailing list archive at Nabble.com.
