On Fri, Aug 7, 2009 at 11:50 AM, akuhtz<[email protected]> wrote: > > Hi Claus > > I've created the JIRA issue 1888 with a patch and a test case for the > problem with the Exception. > > > For the problem with the camel-example-pojo-messaging where the camelLock > files remain in the src/data dirctory on my machine. > > The steps as stated in readme.txt: > > call mvn compile camel:run > > > --> files are delivered and *.camelLock are created in src/data > > > --> Ctrl+C to terminate the camel:run > > --> I see shutdown messages for the camel context. > > > delete the messages folder in target .. just to see if the messages are > processed > > call mvn camel:run again > > --> the files are not processed. But in the output I can see that the > FileConsumer prints Total 3 files to consume on DEBUG level, but nothing > happens. >
That is because you stop it a bit abruptant using ctrl + c. We will work on later, eg Camel 2.1/2.x to have a in flight registry of exchanges in progress so we can shutdown a bit more graceful. And have strategies so component can do proper house cleaning as well. To remedy the issue you just manually delete the .camelLock files. before starting Camel. > > > My machine is running XP and I have tested with jre 1.5.0_16 and 1.6.0_14. > -- > View this message in context: > http://www.nabble.com/Camel-Spring-Remoting-throwing-RuntimeException-question-tp24825646p24861894.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
