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

ReplyProducingMessageHandlerWrapper does not have it's onInit method called

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 5.0.8
    • Fix Version/s: 5.0.10
    • Component/s: Core, DSL
    • Labels:

      Description

      Spring Integration version 5.0.8 (I suspect because of INT-4518) causes ReplyProducingMessageHandlerWrapper to not be initialised.

      In 5.0.7 - ReplyProducingMessageHandlerWrapper the code which calculates the handlerExists returns false and thus the ReplyProducingMessageHandlerWrapper is initailised.

      However switching to 5.0.8 the handlerExists calculates to true and thus the onInit() method is never run and my advice is thus never applied...

      See postProcess() method org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor

      INT-4518 modified the code that calculates the handlerExists it seems to have affected the behavior when a ReplyProducingMessageHandlerWrapper is used.

      I'll try and get time to create a test project...

       

       

        Attachments

          Activity

            People

            Assignee:
            abilan Artem Bilan
            Reporter:
            michaelwiles@gmail.com Michael Wiles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: