qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajith Attapattu (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-741) The BindingURL format is incorrect
Date Wed, 16 Jan 2008 21:36:34 GMT
The BindingURL format is incorrect
----------------------------------

                 Key: QPID-741
                 URL: https://issues.apache.org/jira/browse/QPID-741
             Project: Qpid
          Issue Type: Bug
    Affects Versions: M3
            Reporter: Rajith Attapattu
             Fix For: M3


The binding URL is defined as follows.
<exch_class>://<exch_name>/[<destination>]/[<queue>]?<option>='<value>'[,<option>='<value>']*
RoutingKey is given as a valid option (See BindingURL class) and the following documentation
http://cwiki.apache.org/qpid/bindingurlformat.html.

Then in AMQDestination we see that the constructors has a field called "destinationName" (in
addition to exchangeName).

As per the AMQP spec, destination refers to the exchange you are publishing.
Therefore the binding url format is incorrect, as destination has no meaning in the URL.
It cannot be the routing_key as it is given as a valid option. So I propose we get rid of
it.
However the documentation here is correct, but sadly not reflected in the code properly.
http://cwiki.apache.org/qpid/bindingurlformat.html


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


Mime
View raw message