You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ff...@apache.org on 2020/11/26 14:32:33 UTC
[camel] branch master updated: [CAMEL-15893]onJobExecute method of
org.apache.camel.routepolicy.quartz2.ScheduledRoutePolicy should be public
This is an automated email from the ASF dual-hosted git repository.
ffang 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 c872c83 [CAMEL-15893]onJobExecute method of org.apache.camel.routepolicy.quartz2.ScheduledRoutePolicy should be public
c872c83 is described below
commit c872c83878ff087e63a15b89d1b119363d54d3b5
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Thu Nov 26 09:31:58 2020 -0500
[CAMEL-15893]onJobExecute method of org.apache.camel.routepolicy.quartz2.ScheduledRoutePolicy should be public
---
.../java/org/apache/camel/routepolicy/quartz/ScheduledRoutePolicy.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-quartz/src/main/java/org/apache/camel/routepolicy/quartz/ScheduledRoutePolicy.java b/components/camel-quartz/src/main/java/org/apache/camel/routepolicy/quartz/ScheduledRoutePolicy.java
index 49f07bd..f1d1a99 100644
--- a/components/camel-quartz/src/main/java/org/apache/camel/routepolicy/quartz/ScheduledRoutePolicy.java
+++ b/components/camel-quartz/src/main/java/org/apache/camel/routepolicy/quartz/ScheduledRoutePolicy.java
@@ -57,7 +57,7 @@ public abstract class ScheduledRoutePolicy extends RoutePolicySupport
protected abstract Trigger createTrigger(Action action, Route route) throws Exception;
- protected void onJobExecute(Action action, Route route) throws Exception {
+ public void onJobExecute(Action action, Route route) throws Exception {
LOG.debug("Scheduled Event notification received. Performing action: {} on route: {}", action, route.getId());
ServiceStatus routeStatus = route.getCamelContext().getRouteController().getRouteStatus(route.getId());