camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhemzhitsky Sergey <Sergey_Zhemzhit...@troika.ru>
Subject Is it possible to propagate an exception to the parent route?
Date Fri, 01 Jul 2011 11:30:07 GMT
Hi there,

I'm wondering whether it is possible to propagate an exception to the parent route?

My configuration is the following:

<route id="parent">
  <from uri="direct://parent"/>
  <to uri="direct://child"/>
  <onException>
    <exception>org.test.MyException</exception>
    <!-do something -->
  </onException>
</route>

<route id="child">
   <from uri=" direct://child"/>
   <throwException ref="myException"/>
</route>

Is it possible to handle an exception thrown in the child route in the parent route?

Best Regards,
Sergey Zhemzhitsky


_______________________________________________________

The information contained in this message may be privileged and conf idential and protected
from disclosure. If you are not the original intended recipient, you are hereby notified that
any review, retransmission, dissemination, or other use of, or taking of any action in reliance
upon, this information is prohibited. If you have received this communication in error, please
notify the sender immediately by replying to this message and delete it from your computer.
Thank you for your cooperation. Troika Dialog, Russia. 
If you need assistance please contact our Contact Center  (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp
 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message