gnodet-bot commented on code in PR #30354:
URL: https://github.com/apache/camel/pull/30354#discussion_r4628973119


##########
components/camel-quartz/src/main/java/org/apache/camel/pollconsumer/quartz/QuartzScheduledPollConsumerScheduler.java:
##########
@@ -317,8 +349,9 @@ private void unscheduleJob() throws SchedulerException {
         rescheduleKey = null;
     }

Review Comment:
   🔧 **Nit:** `triggerExists` is not reset here alongside `rescheduleKey`, but 
it should be for symmetry. Currently `doStart()` resets it at the top of each 
start, so there's no correctness bug — but clearing it here makes the cleanup 
self-contained:
   
   ```suggestion
           scheduled = false;
           rescheduleKey = null;
           triggerExists = false;
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to