Adam Chase wrote:
Maybe you already know about this, but when I subscribe, then
unsubscribe and then resubscribe the same queue from a
subscriptionManager, I get:  Queue already exists for SLOT.

Thats using a LocalQueue rather than a MessageListener, right? I've raised a Jira [https://issues.apache.org/jira/browse/QPID-1613] and
have committed a fix to trunk (r737028).

If you are using the M4 release, a workaround is to call:

  session.getExecution().getDemux().remove("xyz");

After canceling a subscription with a LocalQueue (where "xyz" is the subscription name you pass to SubscriptionManager::cancel()).

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to