public class RabbitMqMessage
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
RabbitMqMessage(byte[] body) |
RabbitMqMessage(java.lang.String routingKey,
byte[] body,
java.lang.String contentType,
java.lang.String contentEncoding,
java.util.Map<java.lang.String,java.lang.Object> headers,
java.lang.Integer deliveryMode,
java.lang.Integer priority,
java.lang.String correlationId,
java.lang.String replyTo,
java.lang.String expiration,
java.lang.String messageId,
java.util.Date timestamp,
java.lang.String type,
java.lang.String userId,
java.lang.String appId,
java.lang.String clusterId) |
RabbitMqMessage(java.lang.String routingKey,
com.rabbitmq.client.GetResponse delivery) |
Modifier and Type | Method and Description |
---|---|
com.rabbitmq.client.AMQP.BasicProperties |
createProperties() |
boolean |
equals(@Nullable java.lang.Object obj) |
java.lang.String |
getAppId() |
byte[] |
getBody() |
java.lang.String |
getClusterId() |
java.lang.String |
getContentEncoding() |
java.lang.String |
getContentType() |
java.lang.String |
getCorrelationId() |
java.lang.Integer |
getDeliveryMode() |
java.lang.String |
getExpiration() |
java.util.Map<java.lang.String,java.lang.Object> |
getHeaders() |
java.lang.String |
getMessageId() |
java.lang.Integer |
getPriority() |
java.lang.String |
getReplyTo() |
java.lang.String |
getRoutingKey() |
java.util.Date |
getTimestamp() |
java.lang.String |
getType() |
java.lang.String |
getUserId() |
int |
hashCode() |
public RabbitMqMessage(byte[] body)
public RabbitMqMessage(java.lang.String routingKey, com.rabbitmq.client.GetResponse delivery)
public RabbitMqMessage(java.lang.String routingKey, byte[] body, java.lang.String contentType, java.lang.String contentEncoding, java.util.Map<java.lang.String,java.lang.Object> headers, java.lang.Integer deliveryMode, java.lang.Integer priority, java.lang.String correlationId, java.lang.String replyTo, java.lang.String expiration, java.lang.String messageId, java.util.Date timestamp, java.lang.String type, java.lang.String userId, java.lang.String appId, java.lang.String clusterId)
public java.lang.String getRoutingKey()
public byte[] getBody()
public java.lang.String getContentType()
public java.lang.String getContentEncoding()
public java.util.Map<java.lang.String,java.lang.Object> getHeaders()
public java.lang.Integer getDeliveryMode()
public java.lang.Integer getPriority()
public java.lang.String getCorrelationId()
public java.lang.String getReplyTo()
public java.lang.String getExpiration()
public java.lang.String getMessageId()
public java.util.Date getTimestamp()
public java.lang.String getType()
public java.lang.String getUserId()
public java.lang.String getAppId()
public java.lang.String getClusterId()
public com.rabbitmq.client.AMQP.BasicProperties createProperties()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(@Nullable java.lang.Object obj)
equals
in class java.lang.Object