org.springframework.amqp.core
Class MessageProperties
java.lang.Object
org.springframework.amqp.core.MessageProperties
public class MessageProperties
- extends java.lang.Object
Message Properties for an AMQP message.
- Author:
- Mark Fisher, Mark Pollack, Gary Russell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTENT_TYPE_BYTES
public static final java.lang.String CONTENT_TYPE_BYTES
- See Also:
- Constant Field Values
CONTENT_TYPE_TEXT_PLAIN
public static final java.lang.String CONTENT_TYPE_TEXT_PLAIN
- See Also:
- Constant Field Values
CONTENT_TYPE_SERIALIZED_OBJECT
public static final java.lang.String CONTENT_TYPE_SERIALIZED_OBJECT
- See Also:
- Constant Field Values
CONTENT_TYPE_JSON
public static final java.lang.String CONTENT_TYPE_JSON
- See Also:
- Constant Field Values
CONTENT_TYPE_XML
public static final java.lang.String CONTENT_TYPE_XML
- See Also:
- Constant Field Values
MessageProperties
public MessageProperties()
setHeader
public void setHeader(java.lang.String key,
java.lang.Object value)
getHeaders
public java.util.Map<java.lang.String,java.lang.Object> getHeaders()
setTimestamp
public void setTimestamp(java.util.Date timestamp)
getTimestamp
public java.util.Date getTimestamp()
setMessageId
public void setMessageId(java.lang.String messageId)
getMessageId
public java.lang.String getMessageId()
setUserId
public void setUserId(java.lang.String userId)
getUserId
public java.lang.String getUserId()
setAppId
public void setAppId(java.lang.String appId)
getAppId
public java.lang.String getAppId()
setClusterId
public void setClusterId(java.lang.String clusterId)
getClusterId
public java.lang.String getClusterId()
setType
public void setType(java.lang.String type)
getType
public java.lang.String getType()
setCorrelationId
public void setCorrelationId(byte[] correlationId)
getCorrelationId
public byte[] getCorrelationId()
setReplyTo
public void setReplyTo(java.lang.String replyTo)
getReplyTo
public java.lang.String getReplyTo()
setReplyToAddress
public void setReplyToAddress(Address replyTo)
getReplyToAddress
public Address getReplyToAddress()
setContentType
public void setContentType(java.lang.String contentType)
getContentType
public java.lang.String getContentType()
setContentEncoding
public void setContentEncoding(java.lang.String contentEncoding)
getContentEncoding
public java.lang.String getContentEncoding()
setContentLength
public void setContentLength(long contentLength)
getContentLength
public long getContentLength()
setDeliveryMode
public void setDeliveryMode(MessageDeliveryMode deliveryMode)
getDeliveryMode
public MessageDeliveryMode getDeliveryMode()
setExpiration
public void setExpiration(java.lang.String expiration)
getExpiration
public java.lang.String getExpiration()
setPriority
public void setPriority(java.lang.Integer priority)
getPriority
public java.lang.Integer getPriority()
setReceivedExchange
public void setReceivedExchange(java.lang.String receivedExchange)
getReceivedExchange
public java.lang.String getReceivedExchange()
setReceivedRoutingKey
public void setReceivedRoutingKey(java.lang.String receivedRoutingKey)
getReceivedRoutingKey
public java.lang.String getReceivedRoutingKey()
setRedelivered
public void setRedelivered(java.lang.Boolean redelivered)
isRedelivered
public java.lang.Boolean isRedelivered()
setDeliveryTag
public void setDeliveryTag(long deliveryTag)
getDeliveryTag
public long getDeliveryTag()
setMessageCount
public void setMessageCount(java.lang.Integer messageCount)
getMessageCount
public java.lang.Integer getMessageCount()