Class PollingConsumerTaskSchedulerUpdater

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class PollingConsumerTaskSchedulerUpdater
    extends java.lang.Object
    implements org.springframework.context.ApplicationContextAware
    Update the PollingConsumer with a custom TaskScheduler
    • Constructor Summary

      Constructors 
      Constructor Description
      PollingConsumerTaskSchedulerUpdater​(@NotNull java.lang.String inputChannelId, @NotNull org.springframework.scheduling.TaskScheduler taskScheduler)
      Instantiates the PollingConsumerTaskSchedulerUpdater
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PollingConsumerTaskSchedulerUpdater

        public PollingConsumerTaskSchedulerUpdater​(@NotNull
                                                   @NotNull java.lang.String inputChannelId,
                                                   @NotNull
                                                   @NotNull org.springframework.scheduling.TaskScheduler taskScheduler)
        Instantiates the PollingConsumerTaskSchedulerUpdater
        Parameters:
        inputChannelId - The bean name of the input channel associated to the PollingConsumer
        taskScheduler - The TaskScheduler to update the PollingConsumer with
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException