Changing a DurableSubscriber's Selector does not remove the old binding
-----------------------------------------------------------------------

                 Key: QPID-1275
                 URL: https://issues.apache.org/jira/browse/QPID-1275
             Project: Qpid
          Issue Type: Bug
            Reporter: Martin Ritchie


This can be evidenced with the BDBMessageStore (DerbyMessageStore upgrade still 
pending)

BDBUpgradeTest.testDurabilitySelectors

On recovery there are two binding values for the Durable Subscriber:

main 2008-09-05 15:01:43,801 INFO [server.store.berkeleydb.BDBMessageStore] 
Restoring binding: (Exchange: amq.topic, Queue: clientid:MySubscription, 
Routing Key: MyDurableSubscriptionTestTopic, Arguments: null)
main 2008-09-05 15:01:43,802 INFO [server.store.berkeleydb.BDBMessageStore] 
Restoring binding: (Exchange: amq.topic, Queue: clientid:MySubscription, 
Routing Key: MyDurableSubscriptionTestTopic, Arguments: 
{x-filter-jms-selector=[LONG_STRING: odd=true]})

Steps to reproduce.

Create DurableSubscriber with no selector
Close subscriber
Create DurableSubscriber with selector odd=true
Close subscriber
Restart broker.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to