...
From the returned Exchange you can test if its failed and get the caused exception. This is illustrated in the code sample:TODO: Insert snippet
Wiki Markup |
---|
{snippet:id=e1|lang=java|url=activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/BeanInvocationThrowsExceptionTest.java} |