Spring Integration
  1. Spring Integration
  2. INT-2823

QueueChannel Methods Not Available When JMX Enabled

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: 2.1.4
    • Fix Version/s: 3.0 M1
    • Component/s: Core, JMX Support
    • Labels:

      Description

      Enabling the IMBE wraps the QueueChannel in a proxy, which hides queue-based methods (clear, purge, getQueueSize, getRemainingCapacity) as the channel can only be injected as a PollableChannel.

      Consider adding another interface (e.g. QueueChannelOperations) defining these methods, and have QueueChannel implement it; or, given that QueueChannel is the only framework class subclassing AbstractPollableChannel, (or create a sub-interface of PollableChannel that AbstractPollableChannel implements).

        Activity

        Hide
        Gary Russell added a comment -

        Branch ready to merge when master switches to 3.0 dev

        https://github.com/garyrussell/spring-integration/commits/INT-2823

        Show
        Gary Russell added a comment - Branch ready to merge when master switches to 3.0 dev https://github.com/garyrussell/spring-integration/commits/INT-2823
        Show
        Gary Russell added a comment - PR: https://github.com/SpringSource/spring-integration/pull/732
        Hide
        Gunnar Hillert added a comment -

        PR merged

        Show
        Gunnar Hillert added a comment - PR merged

          People

          • Assignee:
            Gary Russell
            Reporter:
            Gary Russell
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: