allthingssecurity commented on PR #30757: URL: https://github.com/apache/camel/pull/30757#issuecomment-7158268720
Thanks Claus, good catch. Done in e410d34a78. 1. `SedaConsumer` has a new `protected boolean isCurrentStart(int start)` (Javadoc for subclasses that override `doRun(int)`), and the loop in `doRun(int)` now uses `isCurrentStart(start) && isRunAllowed()`. The 4.24 upgrade guide entry says to keep that loop condition. 2. Small new test `SedaConsumerIsCurrentStartTest`: a subclass that overrides `doRun(int)` sees its start stop being the current one after a stop and start. The SEDA tests of camel-core pass (157 run, 0 failures), and the restart tests 5 times in one JVM (25 run, 0 failures). It still merges cleanly with main. -- 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]
