You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org> on 2007/04/12 12:04:32 UTC

[jira] Created: (QPID-451) Throw InvalidDestinationException on attempt to publish to a Queue which does not exist

Throw InvalidDestinationException on attempt to publish to a Queue which does not exist
---------------------------------------------------------------------------------------

                 Key: QPID-451
                 URL: https://issues.apache.org/jira/browse/QPID-451
             Project: Qpid
          Issue Type: Improvement
          Components: Java Client
            Reporter: Rob Godfrey
         Assigned To: Rob Godfrey
             Fix For: M2


Using the Exchange.bound method added to the protocol for Qpid, we can determine whether a queue exists before attempting to publish.  In particular this gives us a way meet the JMS contract of throwing an InvalidDestinationException if a client attempts to publish to a non existant queue.

To allow for compatability with other brokers which do not have this extension to AMQP, this feature should be configurable with a system property.

Note - future versions of AMQP (0-10 hopefully) will provide functionality equivalent to Exchange.bound as part of the core specification.

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


[jira] Resolved: (QPID-451) Throw InvalidDestinationException on attempt to publish to a Queue which does not exist

Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Godfrey resolved QPID-451.
------------------------------

    Resolution: Fixed

Completed: At revision: 527876  

Set the system property org.apache.qpid.client.verifyQueueBindingBeforePublish to false (or anything other than true) to revert to the previous behaviour.

> Throw InvalidDestinationException on attempt to publish to a Queue which does not exist
> ---------------------------------------------------------------------------------------
>
>                 Key: QPID-451
>                 URL: https://issues.apache.org/jira/browse/QPID-451
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>            Reporter: Rob Godfrey
>         Assigned To: Rob Godfrey
>             Fix For: M2
>
>
> Using the Exchange.bound method added to the protocol for Qpid, we can determine whether a queue exists before attempting to publish.  In particular this gives us a way meet the JMS contract of throwing an InvalidDestinationException if a client attempts to publish to a non existant queue.
> To allow for compatability with other brokers which do not have this extension to AMQP, this feature should be configurable with a system property.
> Note - future versions of AMQP (0-10 hopefully) will provide functionality equivalent to Exchange.bound as part of the core specification.

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