Karel, I'm assuming you're using Spring DM here - if that's the case, you can configure this by creating a fragment that attaches to the spring extender jar and setting the shutdown.wait.time extender property (cfr. http://static.springsource.org/osgi/docs/1.2.1/reference/html/app-deploy.html#app-deploy:extender-configurationfor more information on this)
Regards, Gert Vanthienen ------------------------ FuseSource Web: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ On Wed, May 23, 2012 at 2:07 PM, Karel Zabloudil <[email protected]>wrote: > I define a destroy method for my bean: > > <bean id="subscriberAggregator" > class="com.xih.mediation.component.aggregator.AggregatorBean" > destroy-method="shutdown" /> > > when the servicemix is shutdown, my shutdown method is called, but it does > not finish in (default) 10,000ms and it is killed. > is there any way how to increase the timeout for the graceful shutdown ? > > thanks, Karel > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/Timeout-for-destroy-method-tp5713338.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. >
