Author: davsclaus
Date: Wed Sep 5 10:58:58 2012
New Revision: 1381137
URL: http://svn.apache.org/viewvc?rev=1381137&view=rev
Log:
CAMEL-5563: Camel now shutdown thread pools graceful at first and then fallback
to be aggresive as before. Added more logging details during shutdown, as well
logging if the shutdown takes a while. As well if there was any thread pools
when Camel shutdown that wasnt properly shutdown beforehand. The graceful
shutdown uses a 30 sec timeout.
Modified:
camel/trunk/camel-core/src/test/java/org/apache/camel/impl/MultipleLifecycleStrategyTest.java
Modified:
camel/trunk/camel-core/src/test/java/org/apache/camel/impl/MultipleLifecycleStrategyTest.java
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/impl/MultipleLifecycleStrategyTest.java?rev=1381137&r1=1381136&r2=1381137&view=diff
==============================================================================
---
camel/trunk/camel-core/src/test/java/org/apache/camel/impl/MultipleLifecycleStrategyTest.java
(original)
+++
camel/trunk/camel-core/src/test/java/org/apache/camel/impl/MultipleLifecycleStrategyTest.java
Wed Sep 5 10:58:58 2012
@@ -51,8 +51,8 @@ public class MultipleLifecycleStrategyTe
context.stop();
List<String> expectedEvents = Arrays.asList("onContextStart",
"onServiceAdd", "onServiceAdd", "onServiceAdd",
- "onServiceAdd", "onServiceAdd", "onServiceAdd",
"onServiceAdd", "onThreadPoolAdd", "onThreadPoolAdd",
- "onComponentAdd", "onEndpointAdd", "onComponentRemove",
"onContextStop");
+ "onServiceAdd", "onServiceAdd", "onServiceAdd",
"onServiceAdd", "onThreadPoolAdd", "onServiceAdd",
+ "onThreadPoolAdd", "onComponentAdd", "onEndpointAdd",
"onComponentRemove", "onContextStop");
assertEquals(expectedEvents, dummy1.getEvents());
assertEquals(expectedEvents, dummy2.getEvents());