On 04/09/2010 09:48 AM, Jonathan Robie wrote:
On 04/09/2010 09:29 AM, Alan Conway wrote:
Not so simple if you want to pass multiple addresses on the command
line - you need a way to keep things together.
In fact I think we want a URL syntax that includes broker
host/port/connection-options AND address info in one string, so you
can completely specify how to create a sender/receiver from the ground
up in a single string.
Good point.
Perhaps just renaming the productions would help?
Instead of:
address ::= <name> [ / <subject> ] [ ; <options> ]
options ::= { <key> : <value>, ... }
We could use something along these lines:
configuration ::= <address> [ / <subject> ] [ ; <options> ]
options ::= { <key> : <value>, ... }
We could then have tables showing the available options. Some of these
would be client configuration options, others would specify broker
host/port/connection, etc.
Would that be an improvement?
I don't think so. Rafi pointed out to me that the Address is something you use
to create a sender/receiver on a particular session, so it needs to be separable
from connection info. I still think there would be value in being able to
specify an address+connection info together but I'm not sure I know what the
right format is yet.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]