Hi All,

I'm trying to compile an exhaustive list of all the valid options for
binding URL.
Some of the options make sense while others a lot is left to be desired.
I'd really appreciate some help in agreeing to a proper list and also
updating the wiki for accuracy.

The wiki page here
https://cwiki.apache.org/qpid/bindingurlformat.htmldescribes the
following options.

exclusive       boolean     Is this an exclusive connection
autodelete     boolean     Should this queue be deleted on client
disconnection
durable          boolean     Create a durable queue
clientid           string         Use the following client id
subscription  boolean     Create a subscription to this destination
routingkey     string          Use this value as the routing key

While the code has the following options,

public static final String OPTION_EXCLUSIVE = "exclusive";
public static final String OPTION_AUTODELETE = "autodelete";
public static final String OPTION_DURABLE = "durable";
public static final String OPTION_BROWSE = "browse";
public static final String OPTION_CLIENTID = "clientid";
public static final String OPTION_SUBSCRIPTION = "subscription";
public static final String OPTION_ROUTING_KEY = "routingkey";
public static final String OPTION_BINDING_KEY = "bindingkey";
public static final String OPTION_REJECT_BEHAVIOUR = "rejectbehaviour";

(*) Multiple Binding keys can be specified.

While most of the options are quite straight forward I'm trying to figure
out the intended behaviour for a few.

1.  Subscription
     What's the intended usage for "subscription" ?
     All though the wiki lists it as a boolean it has been used in a rather
bizarre way in the BindingURLParser.java
     (All though I was the author of BindingURLParser I simply used the
same that was there in the old code).

    Could we remove this option?

2. Client ID
     We don't use the queue-name worked out here in anyway when we create
the durable subscription name.
     Could we remove this option ?

3. OPTION_REJECT_BEHAVIOUR
     Could somebody please explain the intended  behaviour for this option
so I could correctly pass it when creating the address structure out of a
BURL.

Regards,

Rajith

Reply via email to