camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r790936 - /camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java
Date Fri, 03 Jul 2009 14:55:56 GMT
Author: davsclaus
Date: Fri Jul  3 14:55:55 2009
New Revision: 790936

URL: http://svn.apache.org/viewvc?rev=790936&view=rev
Log:
CAMEL-1795: Fixed bad default, causing spring to use new threads when receiving messages.

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

Modified: camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java?rev=790936&r1=790935&r2=790936&view=diff
==============================================================================
--- camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java
(original)
+++ camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java
Fri Jul  3 14:55:55 2009
@@ -89,7 +89,7 @@
     private TaskExecutor taskExecutor;
     private boolean pubSubNoLocal;
     private int concurrentConsumers = 1;
-    private int maxMessagesPerTask = 1;
+    private int maxMessagesPerTask = -1;
     private int cacheLevel = -1;
     private String cacheLevelName;
     private long recoveryInterval = -1;



Mime
View raw message