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

Add Message History support to annotated endpoints

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 2.0.3
    • Fix Version/s: 4.0 M4
    • Component/s: Core
    • Labels:

      Description

      MessageHistory skips the Handlers annotated with MessageEndpoint.

      When using the xml declaration we have an option to name the Handler:

      <router id="myRouter" ref="myRouterBean" .../>

      If we switch this example to using Annotations you will loose the ability of naming the Handler,
      and then the MessageHistory will skip the Handler, as it's name will be auto-generated and it will
      start with 'org.springframework.integration'.

      The Spring Integration annotations such as @Transformer, @ServiceActivator, and all other annotation
      that end up creating a Handler, should have an id attribute to behave like the id attribute from
      their XML counterparts.

        Attachments

          Activity

            People

            • Assignee:
              abilan Artem Bilan
              Reporter:
              mih_vlad MIhalcea Vlad
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: