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
Use this value in
RabbitTemplate#setReplyAddress(String) to explicitly
indicate that direct reply-to is to be used. |
Constructor and Description |
---|
Address(String address)
Create an Address instance from a structured String with the form
(exchange)/(routingKey) |
Address(String exchangeName,
String routingKey)
Create an Address given the exchange name and routing key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getExchangeName() |
String |
getRoutingKey() |
int |
hashCode() |
String |
toString() |
public static final String AMQ_RABBITMQ_REPLY_TO
RabbitTemplate#setReplyAddress(String)
to explicitly
indicate that direct reply-to is to be used.public Address(String address)
(exchange)/(routingKey).
address
- a structured string.