2 Replies Latest reply on Jul 24, 2003 6:01 PM by juhalindfors

    Can a MBean be a TopicListener?

    commondialog

      Currently, I have an MBean which kicks off a thread whenever a scheduler tells it to do so (I have one MBean calling another.)

      I would rather have the scheduler be an MBean that uses JMS to send a message when an event has triggered and have a MDB or TopicListener receive the message and act upon it.

      So, can a MBean listen to a topic OR can a MDB kick off threads (a no-no for Session and Entity Beans.)

      Thanks.