2 Replies Latest reply on Feb 4, 2007 1:22 PM by jlovelace70

    jboss startup with delveryactive set to FALSE

    jlovelace70

      Hi

      I am using JBOSS jboss-4.0.0 and have implemented a MessageDrivenBean as a singleton which acts as a persistent in inbound message event queue. On occasions I need to restart the jboss container, and have queue content as yet un-processed. I would like to be able to use the JMX org.jboss.ejb.plugins.jms.JMSContainerInvoker startDelivery() method in the JMX GUI to kick off processing the backlogged of events prior upon jboss container restart.

      Can you advise how to cause the MessageDataBean to be deployed with DeliveryActive FALSE so that message consumption of back logged messages does not prematurely start during jboss re-start bean deployment, and so I can start the message consumption on my command thru the GUI with startDelivery.

      Thanks in advance. Hope I have not missed this in FAQs and other jboss docs I have poured through.

      Jim