Announcement Announcement Module
Collapse
No announcement yet.
JMX access to integration beans Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JMX access to integration beans

    Hi,

    I'm quite new to SI.

    Is there any possibility to expose all (or at leas most of) spring integration components as MBeans? What I want to achieve is to be able to connect to SI components via jconsole and check various metrics (no of messages processed) and change various properties (like queue size, poller parameters, etc.) at runtime.

    AFAIK -jmx module is for querying JMX, not for exposing whole thing as MBeans.

    There's QueueChannel class. It implements TrackableComponent which is a @ManagedResource.
    I use in majority of my projects org.springframework.jmx.export.MBeanExporter to expose every annotated bean. Unfortunately, this approach exposes me only few SI components.

  • #2
    Yes, we have a special MBean Exporter that exports MBeans for channels and endpoints...

    http://static.springsource.org/sprin...mbean-exporter

    Comment


    • #3
      Thanks for prompt response.
      It rocks now!

      Comment


      • #4
        By the way, if you have suggestions for improvements, feel free to open 'Improvement' JIRA issues here...

        https://jira.springsource.org/browse/INT

        ...contributions are always welcome!

        https://github.com/SpringSource/spri...tor-Guidelines

        Also, there is a sample here...

        https://github.com/SpringSource/spri...dynamic-poller

        ... that shows how to implement a dynamically reconfigurable poller.

        Comment

        Working...
        X