Announcement Announcement Module
Collapse
No announcement yet.
JMX Notifications on SI Adapters Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment


    • #3
      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?

      Comment


      • #4
        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

        Comment

        Working...
        X