Skip to content

Commit

Permalink
Update QuartzAdaptor.java
Browse files Browse the repository at this point in the history
The startservice was missing the registering of the trigger.
I have this in my prod code, its somehow got missed in the jpos#82
  • Loading branch information
chhil authored Dec 19, 2020
1 parent c9144d7 commit d051d8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/quartz/src/main/java/org/jpos/q2/QuartzAdaptor.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ protected void initService() throws Exception {
Logger.log(evt);
}
protected void startService() throws SchedulerException {
scheduler.getListenerManager()
.addTriggerListener(this);
scheduler.start();
}
protected void stopService() throws SchedulerException {
Expand Down

0 comments on commit d051d8e

Please sign in to comment.