no it should cause i want that exception be propagated back to the caller, as
a hint, what has been going wrong.
Claus thx for the hint with the filter pattern, the only problem is, when
using it the bean isAuthZBlocked isnt able to receive meanwhile incoming
messages from another route.
<route>
<from uri="direct:injectRequest"/>
<filter>
<method ref="isAuthZBlocked"
method="checkDirectInjectedRequest"/>
<doTry>
<to
uri="activemq:topic:services.global.xacml.authzRequests?transferException=true"/>
<doCatch>
<exception>org.apache.camel.RuntimeCamelException
</exception>
<process ref="ExceptionDeWrapper"/>
</doCatch>
</doTry>
</filter>
</route>
--
View this message in context:
http://camel.465427.n5.nabble.com/whats-the-difference-between-these-routes-tp4563945p4582764.html
Sent from the Camel - Users mailing list archive at Nabble.com.