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

Change the default "phase" of all inbound-channel-adapters to the Integer.MAX_VALUE

    XMLWordPrintable

    Details

    • Type: Refactoring
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 4.1 M1
    • Component/s: None
    • Labels:

      Description

      Right now the phase is 0, it means that SourcePollingChannelAdapter (or any message-driver component) might be started before {{EventDrivenConsumer}}s. And produced messages might be droped as:

      "Dispatcher has no subscribers"
      

      The same issue we have on stop phase. Hence we might lose message just because a configuration.

      Changing it to the max phase means that those component will be started as last and stopped as first, respectivally.

        Attachments

          Activity

            People

            Assignee:
            abilan Artem Bilan
            Reporter:
            abilan Artem Bilan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: