You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/09/04 14:33:33 UTC
[camel] branch master updated: Camel-Quartz: Polished a bit
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new a64aa92 Camel-Quartz: Polished a bit
a64aa92 is described below
commit a64aa9251c9b75e2712ed9c50fd2c1307eb7928e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Sep 4 16:32:36 2019 +0200
Camel-Quartz: Polished a bit
---
.../main/java/org/apache/camel/component/quartz/StatefulCamelJob.java | 2 --
.../camel/pollconsumer/quartz/QuartzScheduledPollConsumerScheduler.java | 2 --
2 files changed, 4 deletions(-)
diff --git a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/StatefulCamelJob.java b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/StatefulCamelJob.java
index 79ddf5b..04ae810 100644
--- a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/StatefulCamelJob.java
+++ b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/StatefulCamelJob.java
@@ -28,6 +28,4 @@ import org.quartz.PersistJobDataAfterExecution;
@DisallowConcurrentExecution
public class StatefulCamelJob extends CamelJob {
- private static final long serialVersionUID = 25L;
-
}
diff --git a/components/camel-quartz/src/main/java/org/apache/camel/pollconsumer/quartz/QuartzScheduledPollConsumerScheduler.java b/components/camel-quartz/src/main/java/org/apache/camel/pollconsumer/quartz/QuartzScheduledPollConsumerScheduler.java
index 9ef5cc1..245c28d 100644
--- a/components/camel-quartz/src/main/java/org/apache/camel/pollconsumer/quartz/QuartzScheduledPollConsumerScheduler.java
+++ b/components/camel-quartz/src/main/java/org/apache/camel/pollconsumer/quartz/QuartzScheduledPollConsumerScheduler.java
@@ -51,7 +51,6 @@ public class QuartzScheduledPollConsumerScheduler extends ServiceSupport impleme
private Scheduler quartzScheduler;
private CamelContext camelContext;
private String routeId;
- private Consumer consumer;
private Runnable runnable;
private String cron;
private String triggerId;
@@ -63,7 +62,6 @@ public class QuartzScheduledPollConsumerScheduler extends ServiceSupport impleme
@Override
public void onInit(Consumer consumer) {
- this.consumer = consumer;
// find the route of the consumer
for (Route route : consumer.getEndpoint().getCamelContext().getRoutes()) {
if (route.getConsumer() == consumer) {