Re: errorHandler when stopping routes in test

2011-01-12 Thread John
I created the issue: https://issues.apache.org/jira/browse/CAMEL-3534 Thanks, -john -- View this message in context: http://camel.465427.n5.nabble.com/errorHandler-when-stopping-routes-in-test-tp3335015p3338415.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: errorHandler when stopping routes in test

2011-01-12 Thread Willem Jiang
Hi John, Please feel free to create a JIRA here[1] so we can trace it. [1]https://issues.apache.org/jira/browse/CAMEL Willem On 1/11/11 9:16 PM, John wrote: I'm running the test via junit4. My test class extends CamelTestSupport. Below is the test itself, if that helps. Thanks! -john

Re: errorHandler when stopping routes in test

2011-01-11 Thread Claus Ibsen
We'll revist this in Camel 3.0 where applying interceptors/error handlers and the likes is more flexible and applied dynamic at runtime. The issue is the stop route causes side effect on the other adviced routes. On Mon, Jan 10, 2011 at 4:54 PM, John wrote: > > Hi, > > I'm running 2.6-SNAPSHOT.

Re: errorHandler when stopping routes in test

2011-01-11 Thread John
I'm running the test via junit4. My test class extends CamelTestSupport. Below is the test itself, if that helps. Thanks! -john @Test public void testIssue() throws Exception { RouteDefinition testRoute = context.getRouteDefinition("TestRoute"); testRoute.adviceWith(co

Re: errorHandler when stopping routes in test

2011-01-10 Thread Ashwin Karpe
Hmm, this is certainly odd... I will need to do a bit of digging around on this... BTW, How do you run this... (mainline Java, Spring/JUnit, some other Container etc)... Please let me know. Cheers, Ashwin... - - Ashwin Karpe Apache C