0 Replies Latest reply on Mar 17, 2002 12:48 PM by valenta_jakub

    Cannot destroy durable subscription ?

    valenta_jakub

      Hi all,
      I am using durable subscription. I want to be able to unsubscribe. So I do the following:

      TopicSubscriber.close();
      TopicSession.unsubscribe(name);

      But the unsubscribe(name) call throws the following exception:

      org.jboss.mq.SpyJMSException: Cannot destroy durable subscription InternalCS01-InternalCS01
      at org.jboss.mq.Connection.unsubscribe(Connection.java:603)
      at org.jboss.mq.SpyTopicSession.unsubscribe(SpyTopicSession.java:140).

      with linked exception:

      linked exception is:

      javax.jms.JMSException: Invalid configuration.


      Does anyone know what is wrong?

      br,

      Jakub