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