Results 1 to 4 of 4

Thread: JMX Notifications on SI Adapters

  1. #1
    Join Date
    Sep 2012
    Posts
    17

    Default JMX Notifications on SI Adapters

    I configured my SI project to use JMX. It gives me control of the endpoints and various components of my SI beans which I like.
    Looking at the application running in JConsole, I notice that there are no notifications anywhere.

    I even configured my int-mail IMAP incoming channel adapter to an error condition (can't connect), and I didn't see any error or notifications of the problem on the endpoint though JMX. Is there something else to do?

    All I added to my config is:

    <int-jmx:mbean-export default-domain="IMAPIDLE AMQP Connector" server="mbeanServer"/>

    <bean id="mbeanServer" class="org.springframework.jmx.support.MBeanServer FactoryBean">
    <property name="locateExistingServerIfPossible" value="true"/>
    </bean>

  2. #2
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,012

    Default

    No; there are (currently) not any standard notifications generated on errors.

    Endpoints that support an error-channel (and pollers) can be wired up to a notification-publishing-channel-adapter to generate a notification.

    However, there are no such hooks available for the Imap Idle adapter.

    I agree it would be useful to generate JMX notifications for such errors; feel free to open up an 'Improvement' JIRA issue.

    https://jira.springsource.org/browse/INT
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

  3. #3
    Join Date
    Sep 2012
    Posts
    17

    Default

    Quote Originally Posted by Gary Russell View Post
    No; there are (currently) not any standard notifications generated on errors.
    Endpoints that support an error-channel (and pollers) can be wired up to a notification-publishing-channel-adapter to generate a notification.
    So could use use notification-publishing-channel-adapter on a int:mail pop3 adapter since it is polling?

  4. #4
    Join Date
    Sep 2012
    Posts
    17

    Default

    Quote Originally Posted by Gary Russell View Post

    I agree it would be useful to generate JMX notifications for such errors; feel free to open up an 'Improvement' JIRA issue.

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •