Message Driven Bean with Java Message Queue down

Posted by Rafa de Castro on Stack Overflow See other posts from Stack Overflow or by Rafa de Castro
Published on 2010-03-16T09:52:21Z Indexed on 2010/03/16 9:56 UTC
Read the original article Hit count: 510

Filed under:
|
|
|

I have the following problem deploying my application.

It uses JMS and a remote openMQ for communication between servers. The problem is that the connection is not fully reliable so it can be up or down. For reconnecting I set the jms reconnect glassfish property so it reconnects if at some moment the connection gets lost. The problem arises when i try to deploy the application and there is no connection. It looks like it keeps retrying the connection but the application does not finish deployment until connection is available.

Is it possible to configure it in any way that the deployment continues even if there is no connection and keeps retrying until there is connection available?

Thanks a lot.

© Stack Overflow or respective owner

Related posts about java

Related posts about mdb