I want to stop the CamelContext. Thanks. Regards, Narita
-----Original Message----- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Thursday, February 23, 2012 7:55 PM To: users@camel.apache.org Subject: Re: OnException - Stopping context On Thu, Feb 23, 2012 at 3:21 PM, Narita Bagchi <narita.bag...@headstrong.com> wrote: > What is the right way of stopping the context, onException occurrence ? > > I have tried the following - > > 1) handled(true).end(); > > 2) continued(false).end(); > > 3) handled(true).stop(); > > None of the above seems to be working. > What do you want to stop? > Thanks. > Narita > > ________________________________ > ***The information transmitted is intended only for the person or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review,retransmission,dissemination or other > use of, or taking of any action in reliance upon, this information by > persons or entities other than the intended recipient is prohibited. > If you received this in error, please contact the sender and delete > the material from any computer.*** -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/ ***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.***