2 Replies Latest reply on Dec 2, 2005 1:33 AM by Jobst Essmeyer

    Disconnecting an MDB from a JBossMQ Queue

    Jobst Essmeyer Newbie

      Hi all,

      I would like to programmatically disconnect an MDB from a Queue and reconnect it later on, but I couldn't find any information on this topic.
      The use case would be the following: I have an MDB that processes request-messages that shall be peformed on a non-reliable external system. Now, I would like to stop processing of Messages in case of a network failure. An administrator would later restart it after he or she has solved the problem. I the current system all messages fail and are sent to the DLQ. This we find less convenient because we have to move these messages back to the "real" queue afterwards.

      Does anyone know how to solve this problem?

      Thanks in advance

      Jobst