Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-4132

SourcePollingChannelAdapter: the MessageSource must be started before scheduling the polling task

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Complete
    • 4.3.4
    • 5.0.M1, 4.3.5
    • Core

    Description

      This is a regression with the INT-4120.
      The current code is like:

      protected void doStart() {
      	super.doStart();
      	if (this.source instanceof Lifecycle) {
      		((Lifecycle) this.source).start();
      	}
      }
      

      where the super has may scheduled the polling task already before MessageSource.start() is reached.

      Attachments

        Issue Links

          Activity

            People

              abilan Artem Bilan
              abilan Artem Bilan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: