2 Replies Latest reply on Aug 30, 2002 7:05 PM by arthursdw

    durable subscription

    sangeeth

      Hi,
      I have a durable subscriber running. When a second durable subscriber becomes active, I want the first durable subscriber to become inactive and disconnect.
      Is there any way that I can do this.
      Thanks
      Sangeetha

        • 1. Re: durable subscription
          larsinge

          Yes you can do this. This is easy.

          JMS can not do this for you. You have to write the code yourself.

          When a new subscriber becommes online, publish a message from the new subscriber to all the other subscribers. When the other subscribers interpret this message close the connection.

          • 2. Re: durable subscription
            arthursdw

            Hi,

            Could you please explain to me how to configure to make the durable subscriber work in jboss?

            Which xml file should I update?

            Thanks a lot

            Arthur