Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
No Format
<Exchange Class>://<Exchange Name>/[<Destination>]/[<Queue>][?<option>='<value>'[&<option>='<value>']]

...

Using these options in conjunction with the Binding URL format should allow future expansion as new and custom exchange types are created.

The 'Destination' value is used in the Topic exchange as the topic name to subscribe to. The URL format requires that at least one Queue or routingkey option be present on the URL.

The routingkey would be used to encode a topic as shown in the examples section below.

Examples

Queues

A queue can be created in QPID using the following URL format.

direct://amq.direct//<Queue Name>

For example: direct://amq.direct//simpleQueue

Queue names may consist of any mixture of digits, letters, and underscores.

Topics

A topic can be created in QPID using the following URL format.

topic://amq.topic/<Topic Subscription>/

The topic subscription may only contain the letters A-Z and a-z and digits 0-9.

No Format
direct://amq.direct//SimpleQueue
direct://amq.direct//UnusuallyBoundQueue?routingkey='/queue'
topic://amq.topic/?routingkey='stocks.#'
topic://amq.topic/?routingkey='stocks.nyse.ibm'