[
https://issues.apache.org/jira/browse/QPID-1613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gordon Sim resolved QPID-1613.
------------------------------
Resolution: Fixed
Fixed on 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())
> Unsubscribing and resubscribing with LocalQueue causes exception
> ----------------------------------------------------------------
>
> Key: QPID-1613
> URL: https://issues.apache.org/jira/browse/QPID-1613
> Project: Qpid
> Issue Type: Bug
> Components: C++ Client
> Affects Versions: M4
> Reporter: Gordon Sim
> Assignee: Gordon Sim
> Fix For: M5
>
>
> If you subscribe, unsubscribe the resubscribe to a queue using a LocalQueue
> (not a MessageListener), an exception is thrown with the message "Queue
> already exists for ....". This is due to the way LocalQueues are handled, by
> registering a demux rule which is not removed when the subscription is
> cancelled.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]