此内容没有您所选择的语言版本。
11.5. Address String Grammar
Tokens
The following regular expressions define the tokens used to parse address strings:
Grammar
The formal grammar for addresses is given below:
Address String Options
The address string options map supports the following parameters:
AMQP 0-10
AMQP 1.0
Create, Delete, and Assert Policies
The create, delete (AMQP 0-10 only), and assert policies specify who should perform the associated action:
- always
- the action is performed by any messaging client
- sender
- the action is only performed by a sender
- receiver
- the action is only performed by a receiver
- never
- the action is never performed (this is the default)
Node-Type
The node-type is one of:
- topic
- in the AMQP 0-10 mapping, a topic node defaults to the topic exchange, x-declare may be used to specify other exchange types
- queue
- this is the default
node-type
Filter Descriptor
The following AMQP 1.0 filters are implemented in MRG 3:
legacy-amqp-direct-bindinglegacy-amqp-topic-bindinglegacy-amqp-headers-bindingselector-filterxquery-filter
[2]
The use of new
properties nested map is recommended. The x-declare map is supported as a convenience and is automatically converted to a properties map before sending to the broker.