On Thu, Jan 26, 2012 at 11:46 PM, Jason Dillon <[email protected]> wrote:
> It doesn't appear that camelContext.suspend() even attempts to suspend() its 
> components... is that expected?
>

Yes, suspend() is for suspending route *consumers only*.
So the routes does not intake new messages, but all the other route
services are still "hot".



> --jason
>
> On Jan 26, 2012, at 2:13 PM, Jason Dillon wrote:
>
>> Will suspending the context that a JmsComponent has active endpoints in, 
>> cause the JMS connection.stop() to be called?
>>
>> I'm looking for the best/right method to quickly disable message flow inside 
>> of Camel using JMS components.
>>
>> Anyone know off hand if camelContext.suspend() will do the right thing here 
>> for JmsComponent?
>>
>> --jason
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to