1 Reply Latest reply on Sep 15, 2003 3:58 PM by jcrosbie

    MBean notifications to a remote client

    jcrosbie

      JBoss 3.2.1, JDK 1.4.2_01

      I can't seem to figure out how I might be able to have MBean notifications sent to a remote client. Basically, I have a GaugeMonitor that is supposed to send out events when thresholds are crossed to a remote client.

      The RMIConnector interface has an addNotificationListener() method that closely mimics the method of the same name in the javax.management.NotificationBroadcaster interface, however instead of taking a NotificationListener as the second argument and consumer of notifications, it takes an ObjectName. This leads me to suspect that the notification listener has to be another MBean, which is not what I want.

      Is this possible? I bought the full documentation but I can't find anything about this. Thanks for your help!