Class | Qpid::Messaging::Address |
In: |
lib/qpid/address.rb
|
Parent: | Object |
Address represents an address to which messages can be sent or from which they can be received.
An Address can be described using the following pattern:
<address> [ / <subject> ] ; [ { <key> : <value> , … } ]
where address is a simple name and subject is a subject or subject pattern.
The options, enclosed in curly braces, are key:value pairs delimited by a comma. The values can be nested maps also enclosed in curly braces. Or they can be lists of values, where they are contained within square brackets but still comma delimited, such as:
[value1,value2,value3]
The following are the list of supported options:
addr = Qpid::Messaging::Address.new "my-queue" addr = Qpid::Messaging::Address.new "my-queue", "testing", :create => :always