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

WireTap should not intercept its own channel

    XMLWordPrintable

    Details

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

      Description

      Obviously, it is a good idea to proactively avoid applying the Wire Tap as an interceptor to its own Message Channel. However, it can be inadvertently configured as such, especially when defining the WireTap within a global, top-level <channel-interceptor> element.

      Therefore, the WireTap's preSend method should avoid sending a Message to the channel passed in as an argument IF that channel matches the WireTap's own channel property instance.

        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: