2 Replies Latest reply on Aug 30, 2012 11:56 AM by Himanshu Gupta

    MDB not able to reconnect if HornetQ is restarted

    Himanshu Gupta Newbie

      I am working on a configuration like this:

       

      1. Server A - JBoss 7.1.1.Final - Using as JMS server with one JMS topic configured in hornet subsystem.

      2. Server B - JBoss 7.1.1.Final - Using as MDB server connecting to JMS topic deployed on Server A

      3. Standalone Java client publishing messages to JMS topic on Server A

       

      I start Server A, Server B and Stand alone Java client. MDB on Server B get all the messages that stand alone client sends.

       

      Now, I stop Server A and stand alone Java client and restart both. Server B is running during this time.

       

      When Server A is up again, MDB on Server B is never able to connect to Server A and any message now sent from stand alone client to JMS topic in Server A is not received on Server B.

       

      Can someone please help in pointing out what I am doing wrong here?