2 Replies Latest reply on Apr 2, 2005 9:48 AM by Scott Stark

    Connecting to a Remote Queue from an MDB

    jai hilal Newbie


      I have an MDB (using CMT) which listens to a queue on the local server and sends the message to a remote queue The MDB connects to the remote queue by a lookup (jmsXA) from the onMessage() method.The onMessage method have a catch clause to catch the exceptions.I can send message to the remote queue,but once the remote machine is down the problem begins.When the MDB gets a new message it make a lookup of the remote queue ,The following exception is thrown which I could not catch.

      org.jboss.mq.SpyXAException: - nested throwable: (org.jboss.mq.SpyJMSException: Cannot process a transaction; - nested throwable: (java.io.IOException: Client is not connected))

      can anyone please help me to solve this problem?