[ 
https://issues.apache.org/jira/browse/QPID-5650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-5650:
-----------------------------
    Attachment: test-store.tar.gz

Test store

> [Java Broker] DurableConfigurationStoreUpgrader relies on the action of the 
> AMQQueueFactory to reunite queue with its dead letter exchange
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-5650
>                 URL: https://issues.apache.org/jira/browse/QPID-5650
>             Project: Qpid
>          Issue Type: Improvement
>            Reporter: Keith Wall
>            Assignee: Alex Rudyy
>         Attachments: 
> set-alt-exchange-only-when-attribute-is-set-on-queue.diff, test-store.tar.gz
>
>
> Currently, when upgrading a configuration store v4 store, if the store 
> contains a queue that has a DLQ and associated DLE (*), it is the action of 
> the AMQQueueFactory that is used to reunite the queue with its alternate 
> exchange.   This is rather a poor division of responsibilities and makes that 
> the code in the factory to be rather more complicated than it ought.
> The DurableConfigurationStoreUpgraders should be changed so that if they 
> encounter an appropriately named exchange (i.e. one with standard _DLE 
> suffix), they take the responsibility of producing ConfiguredObjectRecord for 
> the queue with the alternateExchange attribute properly populated.
> (*) The test BDBStoreUpgrade#xtestRecoveryOfQueueWithDLQ uses such a store



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to