1 Reply Latest reply on Dec 5, 2001 12:27 PM by John Baker

    Cannot seem to use durable ID - gets overridden

    John Baker Newbie

      I wish to create a durable subscriber and so have added a test user but the client gets assigned a sequencial default ID rather than the one I specify at the call. What am I doing wrong?

      subscriber_p2p = session_p2p.createDurableSubscriber(topic_p2p, "toolbox", selector, false);



      toolbox
      toolbox
      toolbox


      org.jboss.mq.SpyJMSException: Cannot subscribe to this Destination: ClientID 'ID9' cannot create durable subscriptions.

      at org.jboss.mq.Connection.addConsumer(Connection.java:550)

      at org.jboss.mq.SpySession.addConsumer(SpySession.java:415)

      at org.jboss.mq.SpyTopicSession.createDurableSubscriber(SpyTopicSession.java:114)

      at com.katalyzt.toolbox.ext.msg.gui.MessagingAidExtension.initMessaging(MessagingAidExtension.java:200)

      at com.katalyzt.toolbox.ext.msg.gui.MessagingAidExtension.openAid(MessagingAidExtension.java:110)

      at com.katalyzt.toolbox.gui.ToolboxSessionPanel.registerAidExtension(ToolboxSessionPanel.java:325)

      at com.katalyzt.toolbox.ext.msg.gui.MessagingInitializer.preInitialize(MessagingInitializer.java:26)

      at com.katalyzt.toolbox.gui.DefaultExtensionLoader.loadExtensions(DefaultExtensionLoader.java:117)

      at com.katalyzt.toolbox.gui.ToolboxSessionPanel$3.run(ToolboxSessionPanel.java:105)

      at com.katalyzt.toolbox.task.TaskQueueImpl.runTask(TaskQueueImpl.java:241)

      at com.katalyzt.toolbox.task.TaskQueueImpl.runTask(TaskQueueImpl.java:248)

      at com.katalyzt.toolbox.task.TaskQueueImpl.run(TaskQueueImpl.java:200)

      at java.lang.Thread.run(Thread.java:484)

      linked exception is:

      javax.jms.JMSException: ClientID 'ID9' cannot create durable subscriptions.