The Kuali Service Bus (KSB) uses Quartz to schedule delayed tasks, including retry attempts for messages that cannot be sent the first time. By default, KSB uses an embedded quartz scheduler that can be configured by passing parameters starting with “ksb.org.quartz.” into the Rice configuration.
If the application is already running a quartz scheduler, you can inject a custom quartz scheduler using code like this:
<bean class="org.kuali.rice.ksb.messaging.config.KSBConfigurer"> ... <property name="exceptionMessagingScheduler"> <bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> ... </bean> </property> </bean>
When you do this, KSB will not create an embedded scheduler but will instead use the one provided.