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

Spring fails to create application context when an aggregator with dependency is present

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Complete
    • Affects Version/s: 4.2.GA
    • Fix Version/s: 4.2.1
    • Component/s: Core

      Description

      Spring integration 4.2 introduced the class AggregatorFactoryBean, which requires the aggregator instance in the constructor. This breaks the spring beans dependency injection: dependencies are not injected or it reports a circular reference.
      This makes it impossible to use dependencies in an aggregator implementation.
      This was working fine with spring integration 4.1, where AggregatorFactoryBean is not present.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            gpelladi Pelládi Gábor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: