Re: How to implement concurrent route processing

2013-04-13 Thread Claus Ibsen
Yes this is possible There is a threads in the DSL you can use for that. I wrote a blog entry many years ago - note back then threads was named async http://www.davsclaus.com/2009/05/on-road-to-camel-20-concurrency-with.html On Sat, Apr 13, 2013 at 6:41 AM, Okello Nelson wrote: > Hi Christian,

Re: replace endpoint uri in error handler for testing purposes

2013-04-13 Thread Claus Ibsen
Hi You can have a getter/setter on the route builder class, and then just use the setter when testing to change the uri. And from the configure method you can use the getter to get the uri when using it in the error handler. On Fri, Apr 12, 2013 at 12:06 PM, Tomasz Pasierb wrote: > Hi, > > I'm t

Re: Callback after startup from org.apache.camel.main.Main afterStart()

2013-04-13 Thread Claus Ibsen
Chris, Yeah this would work. But only when you use Spring. We should have a common and easier solution for the MainSupport in camel-core. I have logged a ticket https://issues.apache.org/jira/browse/CAMEL-6269 On Wed, Apr 10, 2013 at 4:24 PM, Chris Wolf wrote: > What I did was extend Main, over

Re: How to implement concurrent route processing

2013-04-13 Thread Okello Nelson
Thanks loads, Claus. I'm checking it out. I'll let you know how it goes. Kind Regards, Okello it Nelson. On Apr 13, 2013 11:09 AM, "Claus Ibsen" wrote: > Yes this is possible > > There is a threads in the DSL you can use for that. > > I wrote a blog entry many years ago - note back then threads