camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject camel git commit: CAMEL-9752 Quartz2 Scheduled route too many workers. Thanks to Hans Orbaan for the patch.
Date Thu, 24 Mar 2016 10:30:18 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.16.x 77fd40bf6 -> d4d61aecc


CAMEL-9752 Quartz2 Scheduled route too many workers. Thanks to Hans Orbaan for the patch.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/d4d61aec
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d4d61aec
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d4d61aec

Branch: refs/heads/camel-2.16.x
Commit: d4d61aecc1bda9c6964a01f627a5486487f5592e
Parents: 77fd40b
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Thu Mar 24 11:18:46 2016 +0100
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Thu Mar 24 11:29:49 2016 +0100

----------------------------------------------------------------------
 .../camel/pollconsumer/quartz2/QuartzScheduledPollConsumerJob.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/d4d61aec/components/camel-quartz2/src/main/java/org/apache/camel/pollconsumer/quartz2/QuartzScheduledPollConsumerJob.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/src/main/java/org/apache/camel/pollconsumer/quartz2/QuartzScheduledPollConsumerJob.java
b/components/camel-quartz2/src/main/java/org/apache/camel/pollconsumer/quartz2/QuartzScheduledPollConsumerJob.java
index 7e06f7f..13fee12 100644
--- a/components/camel-quartz2/src/main/java/org/apache/camel/pollconsumer/quartz2/QuartzScheduledPollConsumerJob.java
+++ b/components/camel-quartz2/src/main/java/org/apache/camel/pollconsumer/quartz2/QuartzScheduledPollConsumerJob.java
@@ -20,11 +20,13 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.Consumer;
 import org.apache.camel.Route;
 import org.apache.camel.component.quartz2.CamelJob;
+import org.quartz.DisallowConcurrentExecution;
 import org.quartz.JobExecutionContext;
 import org.quartz.JobExecutionException;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@DisallowConcurrentExecution
 public class QuartzScheduledPollConsumerJob extends CamelJob {
 
     private static final Logger LOG = LoggerFactory.getLogger(QuartzScheduledPollConsumerJob.class);


Mime
View raw message