1 Reply Latest reply on Feb 2, 2002 5:08 PM by hchirino

    multiple durable subscriptions within a client identifier

    ec35


      Is there a way to add multiple durable subscribers to a single topic under one user and clientid? I have read that a user is required to have a clientid defined in the jbossmq-state.xml in order to create a durable subscription. However, this means there is no way to have multiple subscriber ids pointing to the same topic for that user. One starts correctly, but when a second tries to connect, I get the message:

      [OILServerILService] Client request resulted in a server exception:
      javax.jms.JMSSecurityException: The login id has an assigned client id. That client id is already connected to the server!
      at org.jboss.mq.server.StateManager.checkUser(StateManager.java:195)
      at org.jboss.mq.server.JMSServer.checkUser(JMSServer.java:466)
      at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:270)
      at java.lang.Thread.run(Thread.java:484)
      [JMSServer] JMSServer->connectionClosing(dc=null)


      If this is not possible, why is there a need for a subscriber id at all under the client id? The same situation works with our previous JMS provider, and the spec is a little unclear as to whether this should be allowed. Thanks in advance.