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

IntegrationEvaluationContextAware.setIntegrationEvaluationContext() invoked after afterPropertiesSet()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.2 M1
    • Fix Version/s: 4.2 M2
    • Component/s: None
    • Labels:

      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

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

                Dates

                Created:
                Updated:
                Resolved: