10 Replies Latest reply on Apr 26, 2003 4:16 PM by Kevin J Citron

    MBean as JMS Message Listener

    Kevin J Citron Newbie

      Thanks warjort for the help with this subject. However when I configure
      my bean using the following snipet:

      <mbean code=AQueueHandler" name="user:service=AQueueHandler">

      In the JBoss logs I find the messages.

      waiting in start user:service=AQueueHandler on jboss.mq.destination:service=Queue,name=Queue1.
      The same log output is there for Queue2 and Topic1

      In the shell in which I start JBoss. The last message
      received is: MBeans waiting for other mbeans:
      ObjecName: user:service=QueueHandler
      state: CONFIGURED
      I depend on: jboss.mq.destination:service=Queue,name=Queue1

      And, log statements that I placed in the QueueHandler.start()
      method. are never printed.

      The strange thing is. All of the destinations and QueueHandler appear in the JMX console.

      Any help would be greatly appreciated.