2 Replies Latest reply on Nov 12, 2010 11:46 AM by david.l.small

    MDB Reconnects to Remote Queue

    david.l.small

      Hi, we are using JBoss 5.1.0.GA with message driven beans that connect to remote queues with a JNDI provider adapter. Initial connections work fine. If the remote server comes down, the MDB attempts to reconnect based on the reconnectInterval as would be expected. But it appears to only attempt to reconnect five times before quitting for good. Thus, if the remote server is down for more than say 50 seconds (assuming a default of 10 seconds for the reconnectInterval), the connection will not be automatically recovered.

       

      Is there a configuration to specify unlimited attempts or at least more than 5?

       

      Thanks