Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-1129 Refactor MessageChannelTemplate and gateway classes
  3. INT-1306

replace AbstractMessagingGateway with MessagingGatewaySupport

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 2.0 M7
    • Component/s: Core
    • Labels:
      None

      Description

      Now that MessagingTemplate provides much more functionality for sending and receiving Messages, the AbstractMessagingGateway class is redundant.

      However, we should still provide a convenient, optional superclass (a "support" class only - no abstract methods or algorithms - only support methods) that will bootstrap a MessagingTemplate instance, initialize its ChannelResolver, etc: MessagingGatewaySupport. Inbound adapters can easily extend that class, or if they need to use inheritance for other purposes, they can just as easily define, be injected with or initialize, and use an instance of MessagingTemplate on their own.

        Attachments

          Activity

            People

            Assignee:
            mark.fisher Mark Fisher
            Reporter:
            mark.fisher Mark Fisher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: