From b5d1ef6d40dced4d81d6e57b3ec748f4ac9284ee Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 24 Mar 2010 18:35:11 +0000 Subject: QPID-664: Updates to address options to stay in-line with python client changes in r926604 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927144 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/messaging/Address.h | 111 ++++++++++++++--------------------- 1 file changed, 43 insertions(+), 68 deletions(-) (limited to 'cpp/include') diff --git a/cpp/include/qpid/messaging/Address.h b/cpp/include/qpid/messaging/Address.h index 55befd2d6d..fd790a613c 100644 --- a/cpp/include/qpid/messaging/Address.h +++ b/cpp/include/qpid/messaging/Address.h @@ -65,82 +65,57 @@ class AddressImpl; * * * - * - * - * - * - * + * + * + * + * + * + * + * + * + * + * + * + * + * + * * - * - * - * - * - *
createIndicate whether the address should be - * automatically created or not. Can be one of always, - * never, sender or receiver. The properties of - * the node to be created can be specified via the node-properties - * option (see below).
assertIndicate whether or not to assert any specified - * node-properties match the address. Can be one of always, - * never, sender or receiver.
deleteIndicate whether or not to delete the addressed - * nide when a sender or receiver is cancelled. Can be one of always, - * never, sender or receiver.
createIndicate whether the address should be automatically created + * or not. Can be one of always, never, + * sender or receiver. The properties of the node + * to be created can be specified via the node options (see + * below). + *
assertIndicate whether or not to assert any specified node + * properties(see below) match the address. Can be one of + * always, never, sender or + * receiver. + *
deleteIndicate whether or not to delete the addressed node when a + * sender or receiver is cancelled. Can be one of always, + * never, sender or receiver. + *
reliabilityindicates the level of - * reliability expected. Can be one of unreliable, at-most-once, - * at-least-once or exactly-once (the latter is not yet correctly - * supported).
node-propertiesA nested map of properties of the addressed - * entity or 'node'. These can be used when automatically creating it, - * or to assert certain properties. - * - * The valid node-properties are: - *
    - *
  • type - queue or topic
  • - * - *
  • durable - true or false
  • - * - *
  • x-properties - a nested map that can contain implementation or - * protocol specifiec extedned properties. For the amqp 0-10 mapping, - * the fields in queue- or exchange- declare can be specified in here; - * a bindings entry may also be specified, whose value should be an - * array of strings of the form exchange/key; anything else will be - * passed through in the arguments field. - *
  • - *
- *
+ * + * node + * A nested map describing properties of the addressed + * node. Current properties supported are type (topic or queue), + * durable (boolean), x-declare and x-bindings. + * + * + * + * + * link + * A nested map through which properties of the 'link' from + * sender/receiver to node can be configured. Current propeties + * are name, durable, realiability, x-declare, x-subscribe and + * x-bindings. + * + * * - * For receivers there are some further options of interest: + * For receivers there is one other option of interest: * * - * - * - * * - * - * - * - * - * - * *
no-local(only relevant for topics at present) specifies that the - * receiver does not want to receiver messages published to the topic - * that originate from a sender on the same connection
mode(only relevant for queues) * indicates whether the subscribe should consume (the default) or * merely browse the messages. Valid values are 'consume' and * 'browse'
durable(only relevant for topics at present) specifies that a - * durable subscription is required
filter(only relevant for topics at present) allows bindings to - * be created for the queue that match the given criteria (or list of - * criteria).
x-propertiesallows protocol or implementation specific options - * to be specified for a receiver; this is a nested map and currently - * the implementation only recognises two specific nested properties - * within it (all others are passed through in the arguments of the - * message-subscribe command): - * - *
    - *
  • exclusive, which requests an exclusive subscription and - * is only relevant for queues
  • - * - *
  • x-queue-arguments, which is only relevant for topics and - * allows arguments to the queue-declare for the subscription - * queue to be specified
  • - *
- *
*/ class Address -- cgit v1.2.1