org.apache.qpid.proton.message
Interface Message
public interface Message
DEFAULT_PRIORITY
static final short DEFAULT_PRIORITY
- See Also:
- Constant Field Values
isDurable
boolean isDurable()
getDeliveryCount
long getDeliveryCount()
getPriority
short getPriority()
isFirstAcquirer
boolean isFirstAcquirer()
getTtl
long getTtl()
setDurable
void setDurable(boolean durable)
setTtl
void setTtl(long ttl)
setDeliveryCount
void setDeliveryCount(long deliveryCount)
setFirstAcquirer
void setFirstAcquirer(boolean firstAcquirer)
setPriority
void setPriority(short priority)
getMessageId
Object getMessageId()
getGroupSequence
long getGroupSequence()
getReplyToGroupId
String getReplyToGroupId()
getCreationTime
long getCreationTime()
getAddress
String getAddress()
getUserId
byte[] getUserId()
getReplyTo
String getReplyTo()
getGroupId
String getGroupId()
getContentType
String getContentType()
getExpiryTime
long getExpiryTime()
getCorrelationId
Object getCorrelationId()
getContentEncoding
String getContentEncoding()
getSubject
String getSubject()
setGroupSequence
void setGroupSequence(long groupSequence)
setUserId
void setUserId(byte[] userId)
setCreationTime
void setCreationTime(long creationTime)
setSubject
void setSubject(String subject)
setGroupId
void setGroupId(String groupId)
setAddress
void setAddress(String to)
setExpiryTime
void setExpiryTime(long absoluteExpiryTime)
setReplyToGroupId
void setReplyToGroupId(String replyToGroupId)
setContentEncoding
void setContentEncoding(String contentEncoding)
setContentType
void setContentType(String contentType)
setReplyTo
void setReplyTo(String replyTo)
setCorrelationId
void setCorrelationId(Object correlationId)
setMessageId
void setMessageId(Object messageId)
getHeader
Header getHeader()
getDeliveryAnnotations
DeliveryAnnotations getDeliveryAnnotations()
getMessageAnnotations
MessageAnnotations getMessageAnnotations()
getProperties
Properties getProperties()
getApplicationProperties
ApplicationProperties getApplicationProperties()
getBody
Section getBody()
getFooter
Footer getFooter()
setHeader
void setHeader(Header header)
setDeliveryAnnotations
void setDeliveryAnnotations(DeliveryAnnotations deliveryAnnotations)
setMessageAnnotations
void setMessageAnnotations(MessageAnnotations messageAnnotations)
setProperties
void setProperties(Properties properties)
setApplicationProperties
void setApplicationProperties(ApplicationProperties applicationProperties)
setBody
void setBody(Section body)
setFooter
void setFooter(Footer footer)
decode
int decode(byte[] data,
int offset,
int length)
encode
int encode(byte[] data,
int offset,
int length)
load
void load(Object data)
save
Object save()
toAMQPFormat
String toAMQPFormat(Object value)
parseAMQPFormat
Object parseAMQPFormat(String value)
setMessageFormat
void setMessageFormat(MessageFormat format)
getMessageFormat
MessageFormat getMessageFormat()
clear
void clear()
getError
MessageError getError()
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.