public class RabbitPublishState
extends java.lang.Object
Constructor and Description |
---|
RabbitPublishState(java.lang.String exchange,
java.lang.String routingKey,
com.rabbitmq.client.AMQP.BasicProperties properties,
byte[] body)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBody() |
java.lang.String |
getExchange() |
com.rabbitmq.client.AMQP.BasicProperties |
getProperties() |
java.lang.String |
getRoutingKey() |
public RabbitPublishState(java.lang.String exchange, java.lang.String routingKey, com.rabbitmq.client.AMQP.BasicProperties properties, @Nullable byte[] body)
exchange
- The exchangeroutingKey
- The routing keyproperties
- The propertiesbody
- The bodypublic java.lang.String getExchange()
public java.lang.String getRoutingKey()
public com.rabbitmq.client.AMQP.BasicProperties getProperties()
@Nullable public byte[] getBody()