2 Replies Latest reply on Sep 14, 2004 2:16 AM by mjuergens

    Subscribe to a stopped queue

    mjuergens

      Hi,

      can anybody tell me how to subscribe to a stopped queue.
      the background:
      I have an output queue which will send http request by a mdb to a remote site.
      Now I want to start my application even if the remote site is down without having so much errors.
      So my idea is to start the application with a stopped queue.
      Unfortunately it seems to be impossible to subscribe to a stopped queue. Instead it creates a topic with the same name automaticly when the mdb subscribes.

      so if I start the queue after the remote site is up there is nobody which will hear.

      regards,

      Michael

        • 1. Re: Subscribe to a stopped queue
          genman


          Could you be more clear when you post?

          You can configure an MDB to be created in a stop state, and then manually start it via JMX. Search the forums. Refer to the jboss.xml DTD.

          • 2. Re: Subscribe to a stopped queue
            mjuergens

             

            "genman" wrote:

            Could you be more clear when you post?

            You can configure an MDB to be created in a stop state, and then manually start it via JMX. Search the forums. Refer to the jboss.xml DTD.


            Sorry I ´m new to ejb. I thought I have to stop the queue to stop delivery.
            Now it is clear.
            thank you very much.

            michael