[jboss-user] [Messaging, JMS & JBossMQ] - jboss startup with delveryactive set to FALSE

jlovelace70 do-not-reply at jboss.com
Thu Feb 1 09:20:27 EST 2007


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


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009425#4009425

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009425



More information about the jboss-user mailing list