You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/11 11:00:51 UTC

[jira] [Resolved] (QPID-3490) the default exchange should not be implemented as just a regular direct exchange

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

Keith Wall resolved QPID-3490.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Future)
                   0.15

This commit addresses only:

a) ensures that queues created via JMX are always bound to the default exchange.
b) prevents the removal of the default exchange (as allowing this would cause the Broker to NPE in many places)
c) prevents a NPE when trying to delete an exchange with a name that does not exist.

The other parts of this defect are delegated to the subtask: refactoring, the prevent of deletion of the amp.* exchanges etc.
                
> the default exchange should not be implemented as just a regular direct exchange
> --------------------------------------------------------------------------------
>
>                 Key: QPID-3490
>                 URL: https://issues.apache.org/jira/browse/QPID-3490
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Robbie Gemmell
>            Assignee: Keith Wall
>             Fix For: 0.15
>
>         Attachments: 0001-QPID-3490-creating-queue-via-JMX-now-binds-the-queue.patch
>
>
> the default exchange should not be implemented as just a regular direct exchange
> Currently there are various places that queues are created [using the queue factory], which then require that a binding be performed to the default exchange, and in some cases this is not actually done (e.g. the createQueue JMX operation). The implementation of the default exchange should be updated such that it is not just a regular direct exchange (e.g. to prevent it having an MBean or at least a custom MBean, since no operations should actually be able to be performed on it given it is to just be a direct mapping to the available queues), and its bindings should be handled directly through the Queue factory to ensure they are applied uniformly across the broker.
> Additionally, the current implementation of the default exchange has a name <<default>> when it should really be nameless, and it is possible to delete it (and amq.* exchanges) via the JMX interface as a result which it shouldnt be.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org