public class Address extends Object
(exchangeType)://(exchange)/(routingKey)Here we also allow the exchange type to default to direct, and the exchange name to default to empty (so just a routing key will work if you know the queue name).
|Constructor and Description|
Create an Address instance from a structured String in the form
Create an Address given the exchange type, exchange name and routing key.
public Address(String address)
(exchangeType)://(exchange)/(routingKey)where examples of valid
exchangeTypevalues can be found in the
address- a structured string.