public class Message extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Message.DeliveredMessage |
static class |
Message.MessageForSending |
static class |
Message.None |
| Constructor and Description |
|---|
Message(byte[] body) |
| Modifier and Type | Method and Description |
|---|---|
static Message |
forDelivery(com.rabbitmq.client.QueueingConsumer.Delivery delivery) |
static Message |
forSending(byte[] body,
Map<String,Object> headers,
String exchangeName,
String routingKey,
String contentType,
String contentEncoding,
boolean persistent) |
byte[] |
getBody() |
public static final Message NONE
public static Message forDelivery(com.rabbitmq.client.QueueingConsumer.Delivery delivery)
public static Message forSending(byte[] body, Map<String,Object> headers, String exchangeName, String routingKey, String contentType, String contentEncoding, boolean persistent)
public byte[] getBody()
Copyright © 2013-2015. All Rights Reserved.