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

  • JMX access to integration beans


    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...


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


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

        ...contributions are always welcome!

        Also, there is a sample here...

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