public static class Sender.SendContext extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.rabbitmq.client.Channel |
channel |
protected OutboundMessage |
message |
| Constructor and Description |
|---|
SendContext(com.rabbitmq.client.Channel channel,
OutboundMessage message) |
| Modifier and Type | Method and Description |
|---|---|
com.rabbitmq.client.Channel |
getChannel() |
OutboundMessage |
getMessage() |
void |
publish() |
void |
publish(OutboundMessage outboundMessage) |
protected final com.rabbitmq.client.Channel channel
protected final OutboundMessage message
public SendContext(com.rabbitmq.client.Channel channel,
OutboundMessage message)
public OutboundMessage getMessage()
public com.rabbitmq.client.Channel getChannel()
public void publish(OutboundMessage outboundMessage) throws Exception
Exception