Hi All

Based on the following routes:

<route>
        <from uri="direct:message/>

        <onException>
                <exception>my.fragile.Exception</exception>
                <to uri="mock:isItPossibleToCatchHere"/>
        </onException>
        
        <to uri="direct:methodInvocation"/>
</route>

<route>
        <from uri="direct:methodInvocation"/>
        <to uri="bean:fragileBean?method=invokeWithPossibleException"/>
</route>

Is it possible to use the <onException> tag there?

Thanks

-- 
~The best men are men who benefit to others
http://michsan.web.id

Yang berkualitas memang beda rasanya!
http://rizqi-cookies.com

Reply via email to