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

QueueChannel Methods Not Available When JMX Enabled

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: