JBoss Community

MDB's starting before deployment is finished

created by snoop.one in JBoss AS 7 Development - View the full discussion

I have a question about MDB and deployment in the new JBoss 7.1.

We have have 3 servers - all configured as standalone.

The first server is the queue server and the others are consumers. If we start the queue server before the consumers, the consumers start getting notifications about messages to process and since the messages are heavy loaded the consumers time out in their deployment - hence they start consuming messages before the deployment is finished. Is there a mechanism in Jboss which can specifiy that the consumer should only start consuming messages after it is successfully deployed?

 

Thanks in advance.

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community