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).
| Modifier and Type | Field and Description |
|---|---|
static String |
AMQ_RABBITMQ_REPLY_TO |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getExchangeName() |
String |
getExchangeType()
Deprecated.
|
String |
getRoutingKey() |
int |
hashCode() |
String |
toString() |
public static final String AMQ_RABBITMQ_REPLY_TO
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.@Deprecated public String getExchangeType()
public String getExchangeName()
public String getRoutingKey()