This is an automated email from the ASF dual-hosted git repository.

ffang pushed a commit to branch camel-2.25.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-2.25.x by this push:
     new e2c6c0e  [CAMEL-15893]onJobExecute method of 
org.apache.camel.routepolicy.quartz2.ScheduledRoutePolicy should be public
e2c6c0e is described below

commit e2c6c0ea679f31fd7b48ca7179c17fcc7cb45dbe
Author: Freeman Fang <freeman.f...@gmail.com>
AuthorDate: Thu Nov 26 09:54:06 2020 -0500

    [CAMEL-15893]onJobExecute method of 
org.apache.camel.routepolicy.quartz2.ScheduledRoutePolicy should be public
---
 .../java/org/apache/camel/routepolicy/quartz2/ScheduledRoutePolicy.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-quartz2/src/main/java/org/apache/camel/routepolicy/quartz2/ScheduledRoutePolicy.java
 
b/components/camel-quartz2/src/main/java/org/apache/camel/routepolicy/quartz2/ScheduledRoutePolicy.java
index 60701ec..f09210c 100644
--- 
a/components/camel-quartz2/src/main/java/org/apache/camel/routepolicy/quartz2/ScheduledRoutePolicy.java
+++ 
b/components/camel-quartz2/src/main/java/org/apache/camel/routepolicy/quartz2/ScheduledRoutePolicy.java
@@ -57,7 +57,7 @@ public abstract class ScheduledRoutePolicy extends 
RoutePolicySupport implements
 
     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.getRouteContext().getCamelContext().getRouteStatus(route.getId());

Reply via email to