Context
QuartzWorkerExecutionManager.onStart() (lines 80–88) blocks on recoverPendingScheduledWorkers() for up to 30 seconds during startup. After the composite WEM change (#461), recovery calls schedulePersistedEvent() on the composite, which now routes using supports() filtering.
The blocking call and its interaction with backend discovery timing needs rework — backends may not all be available when the Quartz startup observer fires at @Priority(20).
Three existing TODOs in QuartzWorkerExecutionManager mark this area as known debt:
- Line 80:
// TODO this must be reworked
- Line 84:
// TODO fix it
- Line 91:
// TODO, yes, here is id of event object...
From
Design review deferred concern §2 in composite WEM spec.
Refs #461
Context
QuartzWorkerExecutionManager.onStart()(lines 80–88) blocks onrecoverPendingScheduledWorkers()for up to 30 seconds during startup. After the composite WEM change (#461), recovery callsschedulePersistedEvent()on the composite, which now routes usingsupports()filtering.The blocking call and its interaction with backend discovery timing needs rework — backends may not all be available when the Quartz startup observer fires at
@Priority(20).Three existing TODOs in QuartzWorkerExecutionManager mark this area as known debt:
// TODO this must be reworked// TODO fix it// TODO, yes, here is id of event object...From
Design review deferred concern §2 in composite WEM spec.
Refs #461