Author: janstey
Date: Thu Sep 27 17:38:27 2012
New Revision: 1391134
URL: http://svn.apache.org/viewvc?rev=1391134&view=rev
Log:
Fix compile error. shutdownExecutorService flag didn't exist in 2.9
Modified:
camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/processor/RecipientList.java
Modified:
camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/processor/RecipientList.java
URL:
http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/processor/RecipientList.java?rev=1391134&r1=1391133&r2=1391134&view=diff
==============================================================================
---
camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/processor/RecipientList.java
(original)
+++
camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/processor/RecipientList.java
Thu Sep 27 17:38:27 2012
@@ -176,7 +176,7 @@ public class RecipientList extends Servi
camelContext.removeService(producerCache);
ServiceHelper.stopAndShutdownService(producerCache);
- if (shutdownExecutorService && executorService != null) {
+ if (executorService != null) {
camelContext.getExecutorServiceManager().shutdownNow(executorService);
}
}