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

IntegrationEvaluationContextAware.setIntegrationEvaluationContext() invoked after afterPropertiesSet()

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Complete
    • 4.2 M1
    • 4.2 M2
    • None

    Description

      Beans implementing `IntegrationEvaluationContextAware` will expect that the `IntegrationEvaluationContext` is set as part of the bean initialization process.

      Due to the current approach of setting the context only in `IntegrationEvaluationContextAwareBeanPostProcessor#afterSingletonsInstantiated`, `afterPropertiesSet()` is called before the initialization takes place.

      Reconsider the current approach, to reconcile the need for preventing early `BeanFactory` access with the expectations of `InitializingBean`

      Attachments

        Issue Links

          Activity

            People

              abilan Artem Bilan
              mbogoevici Marius Bogoevici
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: