public final class AmqpProperties extends Object
The value of the "headers" property is of type AmqpArguments. Kaazing AMQP implementation uses AmqpArguments to encode the "table". Similarly, Kaazing AMQP implementation decodes the "table" and constructs an instance of AmqpArguments.
AmqpArguments
Modifier and Type | Field and Description |
---|---|
static String |
AMQP_PROP_APP_ID |
static String |
AMQP_PROP_CONTENT_ENCODING |
static String |
AMQP_PROP_CONTENT_TYPE |
static String |
AMQP_PROP_CORRELATION_ID |
static String |
AMQP_PROP_DELIVERY_MODE |
static String |
AMQP_PROP_EXPIRATION |
static String |
AMQP_PROP_HEADERS |
static String |
AMQP_PROP_MESSAGE_ID |
static String |
AMQP_PROP_PRIORITY |
static String |
AMQP_PROP_REPLY_TO |
static String |
AMQP_PROP_TIMESTAMP |
static String |
AMQP_PROP_TYPE |
static String |
AMQP_PROP_USER_ID |
static String |
APPLICATION_OCTET_STREAM |
static String |
TEXT_PLAIN |
Constructor and Description |
---|
AmqpProperties() |
AmqpProperties(Map<String,Object> properties) |
Modifier and Type | Method and Description |
---|---|
String |
getAppId()
Returns the value of "appId" property.
|
String |
getContentEncoding()
Returns the value of "contentEncoding" property.
|
String |
getContentType()
Returns the value of "contentType" property.
|
String |
getCorrelationId()
Returns the value of "correlationId" property.
|
Integer |
getDeliveryMode()
Returns the value of "deliveryMode" property.
|
String |
getExpiration()
Returns the value of "expiration" property.
|
AmqpArguments |
getHeaders()
Returns the value of "headers" property.
|
String |
getMessageId()
Returns the value of "messageId" property.
|
Integer |
getPriority()
Returns the value of "priority" property.
|
Map<String,Object> |
getProperties()
Returns a clone of the properties HashMap by shallow copying the values.
|
String |
getReplyTo()
Returns the value of "replyTo" property.
|
Timestamp |
getTimestamp()
Returns the value of "timestamp" property.
|
String |
getType()
Returns the value of "type" property.
|
String |
getUserId()
Returns the value of "userId" property.
|
void |
setAppId(String appId)
Sets the value of "appId" property.
|
void |
setContentEncoding(String encoding)
Sets the value of "contentEncoding" property.
|
void |
setContentType(String contentType)
Sets the value of "contentType" property.
|
void |
setCorrelationId(String correlationId)
Sets the value of "correlationId" property.
|
void |
setDeliveryMode(Integer deliveryMode)
Sets the value of "deliveryMode" property.
|
void |
setExpiration(String expiration)
Sets the value of "expiration" property.
|
void |
setHeaders(AmqpArguments headers)
Sets the value of "headers" property.
|
void |
setMessageId(String messageId)
Sets the value of "messageId" property.
|
void |
setPriority(Integer priority)
Sets the value of "priority" property.
|
void |
setReplyTo(String replyTo)
Sets the value of "replyTo" property.
|
void |
setTimestamp(Timestamp timestamp)
Sets the value of "timestamp" property.
|
void |
setType(String type)
Sets the value of "type" property.
|
void |
setUserId(String userId)
Sets the value of "userId" property.
|
String |
toString()
Returns String representation of the properties.
|
public static final String TEXT_PLAIN
public static final String APPLICATION_OCTET_STREAM
public static final String AMQP_PROP_APP_ID
public static final String AMQP_PROP_CONTENT_TYPE
public static final String AMQP_PROP_CONTENT_ENCODING
public static final String AMQP_PROP_CORRELATION_ID
public static final String AMQP_PROP_DELIVERY_MODE
public static final String AMQP_PROP_EXPIRATION
public static final String AMQP_PROP_HEADERS
public static final String AMQP_PROP_MESSAGE_ID
public static final String AMQP_PROP_PRIORITY
public static final String AMQP_PROP_REPLY_TO
public static final String AMQP_PROP_TIMESTAMP
public static final String AMQP_PROP_TYPE
public static final String AMQP_PROP_USER_ID
public String getAppId()
public String getContentType()
public String getContentEncoding()
public String getCorrelationId()
public Integer getDeliveryMode()
public String getExpiration()
public AmqpArguments getHeaders()
public String getMessageId()
public Integer getPriority()
public Map<String,Object> getProperties()
public String getReplyTo()
public Timestamp getTimestamp()
public String getType()
public String getUserId()
public void setAppId(String appId)
appId
- value of "appId" propertypublic void setContentType(String contentType)
contentType
- value of "contentType" propertypublic void setContentEncoding(String encoding)
encoding
- value of "contentEncoding" propertypublic void setCorrelationId(String correlationId)
correlationId
- value of "correlationId" propertypublic void setDeliveryMode(Integer deliveryMode)
deliveryMode
- value of "deliveryMode" propertypublic void setExpiration(String expiration)
expiration
- value of "expiration" propertypublic void setHeaders(AmqpArguments headers)
headers
- value of "headers" propertypublic void setMessageId(String messageId)
messageId
- value of "messageId" propertypublic void setPriority(Integer priority)
priority
- value of "priority" propertypublic void setReplyTo(String replyTo)
replyTo
- value of "replyTo" propertypublic void setTimestamp(Timestamp timestamp)
timestamp
- value of "timestamp" propertypublic void setType(String type)
type
- value of "type" propertypublic void setUserId(String userId)
userId
- value of "userId" propertyCopyright © 2014. All Rights Reserved.