I tried running it against 2.8-SNAPSHOT, the results were worse - the test
didn't even pass with a single intercept.

The attached zip is the test I was trying to perform (DatabaseErrorTest), a
single intercept is currently in use (intercepting the "MsgInterface"
route), adding the "DBcontentsInterface" intercept causes the test to fail
when running against 2.7.

The test sends an xml message to an http endpoint. The route converts it to
a string then sends it to a bean endpoint - which is intercepted. The
SimulateDatabaseError() processor, which the interceptor diverts the message
to, throws an exception, which should be handled by the onException() dsl in
RouteSupport.java.

http://camel.465427.n5.nabble.com/file/n4528996/unittestissue.zip
unittestissue.zip 

Cheers

Matt

--
View this message in context: 
http://camel.465427.n5.nabble.com/intercept-using-adviceWith-tp4520468p4528996.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to