[jboss-user] [Messaging, JMS & JBossMQ] - Message Driven Beans reading messages before Application Sta

rocky.alam do-not-reply at jboss.com
Tue Jul 11 00:49:24 EDT 2006


Hi,

We are using the following:
- JBoss AS 4.0.2
- WebSphere MQ v5.3
- IBM DB2 v8.1

Description:
Our app is using Message Driven Beans to receive messages from queues on WSMQ. The app is initialized by an external system communicating with our app via messaging using a queue dedicated for this process. The initialization includes loading all configuration files within the app. This process is mandatory for the app to function properly (obviously!).

Problem:
As soon as the app is deployed on to the application server, the MDBs start processing messages from all queues. This pretty much errors out all transactions within, and initially some messages are lost before app completes its startup process.

Question:
Is there a way to enable connections to specific queues while disabling the MDBs listening to other queues, and after the startup process is complete, bring all mdbs online programatically?

Any help will be appreciated.
Thanks

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

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



More information about the jboss-user mailing list