camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r584772 - /activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java
Date Mon, 15 Oct 2007 12:33:08 GMT
Author: jstrachan
Date: Mon Oct 15 05:33:07 2007
New Revision: 584772

URL: http://svn.apache.org/viewvc?rev=584772&view=rev
Log:
remove unnecessary code

Modified:
    activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java

Modified: activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java?rev=584772&r1=584771&r2=584772&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java
(original)
+++ activemq/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java
Mon Oct 15 05:33:07 2007
@@ -271,10 +271,6 @@
                 listenerContainer.setCacheLevel(cacheLevel);
             } else if (cacheLevelName != null) {
                 listenerContainer.setCacheLevelName(cacheLevelName);
-            } else {
-                // Default to CACHE_CONSUMER unless specified. This works best
-                // with most JMS providers.
-                listenerContainer.setCacheLevel(DefaultMessageListenerContainer.CACHE_CONSUMER);
             }
 
             if (idleTaskExecutionLimit >= 0) {



Mime
View raw message