0 Replies Latest reply on Feb 13, 2003 6:03 AM by stuart miller

    Making an MDB an MBean too?

    stuart miller Newbie

      Unless someone can explain why this would be a bad idea (or suggest a better way), I want to make a MessageDrivenBean (listener of a JMS Queue) into an MBean, as I'd like to monitor the status of them as they consume & process messages. I'd like to have them 'report' to some monitoring bean (a JMX notification listener) via notification broadcasts. But I do not control the creation/instances of the MessageDrivenBean that listens to the Queue... JBoss does that, right? So can the monitoring MBean receive notifications from these (short-lived) MDBs/MBeans, if it did not create them itself?

      Are JMX and JMS mixable in this way?