public class Address extends Object
(exchange)/(routingKey)Here we also the exchange name to default to empty (so just a routing key will work if you know the queue name).
| Constructor and Description |
|---|
Address(String address)
Create an Address instance from a structured String in the form
(exchange)/(routingKey) |
Address(String exchangeName,
String routingKey)
Create an Address given the exchange name and routing key.
|
Address(String exchangeType,
String exchangeName,
String routingKey)
Deprecated.
|
public Address(String address)
(exchange)/(routingKey)
address - a structured string.@Deprecated public Address(String exchangeType, String exchangeName, String routingKey)
exchangeType - The exchange type.exchangeName - The exchange name.routingKey - The routing key.