1 Reply Latest reply on May 28, 2003 7:11 PM by mikeklem

    DurableSubscription question

      I am trying to figure out how the data in jbossmq-state.xml is used to create durable subscriptions and have the following question.

      Is it possible to modify the jbossmq-state.xml file to add a new DurableSubscription element without restarting the server?

      I have tried modifying the file, saving it and using the jmx-console to reload the config file but it does not show the new subscription unless I restart the server.

      The reason I want to do this is to be able to add new client apps that become listeners to a durable topic. The client apps can be created after the JBoss server has been running for a while.

      Thanks

        • 1. Re: DurableSubscription question

          I found that I can do this.

          1. Modify and save your jbossmq-state.xml file

          2. Use the jmx-console, locate and click on the stateManager link.

          3. Click on the loadConfig link.

          4. Locate and click on the link for the appropriate JMS destination.

          5. Click on destroy

          6. Click on create

          7. Click on start

          8. Click on the link for the durable subscription and you should see the new durable subscription listed.