camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmanchanda75 <>
Subject Re: Exception doesn't get cauhgt in the route
Date Thu, 30 May 2013 09:51:01 GMT
Hi Ali,

The route based exceptions are working fine for us, following is the
example. Not sure but I have a suggestion for you, can you try catching a
generic Exception, it may be due to different exception  being raised.

<route id="bl-otc-pattern">
        <from uri="direct:blotc"/>
			<log message="BL ROUTE HANDLER ${in.headers} ${body}" />
			<bean method="blExceptionHandler" ref="voltException" />
        <bean method="checkRule" ref="rulesProcessor"/>
        <bean method="embedVoltTxnId" ref="transactionIdentifier"/>
        <bean method="process" ref="ampOtcProcessor"/>
        <setHeader headerName="type">
        <bean method="putTxnToDB" ref="dbProcessor"/>
        <bean method="commToCust" ref="commProcessor"/>

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message