[
https://issues.apache.org/jira/browse/QPID-2418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robbie Gemmell updated QPID-2418:
---------------------------------
Attachment: QPID-2418-trunk_new3.patch
Adding a further updated version of the patch, QPID-2418-trunk_new3.patch
Streamlines some of the previous additions and fixes one of the test failures
on the Java 0-10 profiles, which seemed to relate to the asynchronous batched
acks performed by the 0-10 client in AUTO_ACK mode as it appeared that the
messages hadnt been acked when the queue count was checked after consumption;
switching to a transacted session alleviated the issue.
There is 1 remaining failure on the Java 0-10 profiles still requiring
investigation (DurableSubscriptionTest#testResubscribeWithChangedSelector,
where it seems a message is received which should not be).
> Existing durable subscription with selector is not unsubscribed during
> change to new subscription
> --------------------------------------------------------------------------------------------------
>
> Key: QPID-2418
> URL: https://issues.apache.org/jira/browse/QPID-2418
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: M4, 0.5, 0.6
> Reporter: Robbie Gemmell
> Assignee: Robbie Gemmell
> Fix For: 0.7
>
> Attachments: 0001-QPID-2418-branch.patch, 0001-QPID-2418-trunk.patch,
> QPID-2418-trunk_new.patch, QPID-2418-trunk_new2.patch,
> QPID-2418-trunk_new3.patch
>
>
> AMQSession.createDurableSubscriber(topic, name, messageSelector, noLocal)
> does not unsubscribe existing durable subscriptions. Whilst it does check for
> existing durable subscriptions in use by the client with the same name, it
> instead simply closes the subscriptions then creates a new one. As a result
> of not unsubscribing, the queue backing the subscription is not deleted
> before being used by the updated subscription as it should be (and as happens
> in the 0_8 and 0_10 subclasses when using durable subscriptions without
> selectors).
--
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]