Re: Re: How to configure shutdown timeout

2020-08-24 Thread Martin Lichtin
� ��� � On 19.08.2020 16:01, Alex Soto wrote: Thanks Alex, Also looking for a way to configure this in a Blueprint XML file. Best regards, Alex soto On Aug 18, 2020, at 11:13 AM, Alex Dettinger wrote: Hi Alex, It seems the timeout is tuned after the context creation. On

Re: How to configure shutdown timeout

2020-08-19 Thread Alex Soto
Thanks Alex, Also looking for a way to configure this in a Blueprint XML file. Best regards, Alex soto > On Aug 18, 2020, at 11:13 AM, Alex Dettinger wrote: > > Hi Alex, > > It seems the timeout is tuned after the context creation. One may achieve > the desired result with either: > @Ove

Re: How to configure shutdown timeout

2020-08-18 Thread Alex Dettinger
Hi Alex, It seems the timeout is tuned after the context creation. One may achieve the desired result with either: @Override protected void doPostSetup() throws Exception { context.getShutdownStrategy().setTimeout(60); } OR MAYBE @Override protected int getShutdowntimeout() { return 60; } h

How to configure shutdown timeout

2020-08-18 Thread Alex Soto
Hello, Using Camel 3.4.0, in my unit test, I am trying to configure the shutdown timeout doing the following: public class MyTest extends CamelTestSupport { . . . @Override protected CamelContext createCamelContext() throws Exception {