Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0 M6
    • Component/s: Core
    • Labels:
      None

      Description

      Currently, the only MessagingTaskScheduler implementation is the SimpleMessagingTaskScheduler. It only supports the interval-based PollingSchedule. A Quartz-based version of MessageTaskScheduler should be added to support a cron-based implementation of the Schedule interface.

        Issue Links

          Activity

          Hide
          Mark Fisher added a comment -

          Moving to M5.

          Show
          Mark Fisher added a comment - Moving to M5.
          Hide
          Mark Fisher added a comment -

          The new approach for sending poll-command triggers to endpoints (in M5) should provide the foundation for this (as well as WorkManager delegation).

          Show
          Mark Fisher added a comment - The new approach for sending poll-command triggers to endpoints (in M5) should provide the foundation for this (as well as WorkManager delegation).
          Hide
          Marius Bogoevici added a comment -

          Resolved by introducing the Scheduling SPI and the QuartzSchedulerServiceProvider.

          Integration would be provided by using the following configuration:

          <message-bus task-scheduler="quartzTaskScheduler"/>

          followed by

          <beans:bean id="quartzTaskScheduler" class="org.springframework.integration.scheduling.spi.ProviderTaskScheduler">
          <beans:constructor-arg>
          <beans:bean class="org.springframework.integration.quartz.QuartzScheduleServiceProvider">
          <beans:constructor-arg>
          <beans:bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"/>
          </beans:constructor-arg>
          </beans:bean>
          </beans:constructor-arg>
          </beans:bean>

          essentially injecting fully configured Quartz factory bean in the message to be wrapped as a TaskScheduler.

          The SchedulerFactoryBean can be configured using all features provided by the core Spring-Quartz integration.

          Show
          Marius Bogoevici added a comment - Resolved by introducing the Scheduling SPI and the QuartzSchedulerServiceProvider. Integration would be provided by using the following configuration: <message-bus task-scheduler="quartzTaskScheduler"/> followed by <beans:bean id="quartzTaskScheduler" class="org.springframework.integration.scheduling.spi.ProviderTaskScheduler"> <beans:constructor-arg> <beans:bean class="org.springframework.integration.quartz.QuartzScheduleServiceProvider"> <beans:constructor-arg> <beans:bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"/> </beans:constructor-arg> </beans:bean> </beans:constructor-arg> </beans:bean> essentially injecting fully configured Quartz factory bean in the message to be wrapped as a TaskScheduler. The SchedulerFactoryBean can be configured using all features provided by the core Spring-Quartz integration.

            People

            • Assignee:
              Marius Bogoevici
              Reporter:
              Mark Fisher
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1.5d
                1.5d
                Remaining:
                Remaining Estimate - 1.5d
                1.5d
                Logged:
                Time Spent - Not Specified
                Not Specified