SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AmqpProperties class is used to specify the pre-defined properties as per AMQP 0-9-1 specification. This class provides type-safe convenience getters and setters for the pre-defined or standard AMQP properties.
Constructor Summary | |
AmqpProperties(headers)
Creates an AmqpProperties instance. |
Method Summary | |
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. |
Number
|
getDeliveryMode()
Returns the value of "deliveryMode" property. |
Number
|
getExpiration()
Returns the value of "expiration" property. |
object
|
getHeaders()
Returns the value of "headers" property. |
String
|
getMessageId()
Returns the value of "messageId" property. |
Number
|
getPriority()
Returns the value of "priority" property. |
object
|
getProperties()
Returns a clone of the properties by shallow copying the values. |
String
|
getReplyTo()
Returns the value of "replyTo" property. |
Number
|
getTimestamp()
Returns the value of "timestamp" property. |
String
|
getType()
Returns the value of "type" property. |
String
|
getUserId()
Returns the value of "userId" property. |
|
setAppId(appId)
Sets the value of "appId" property. |
|
setContentEncoding(encoding)
Sets the value of "contentEncoding" property. |
|
setContentType(contentType)
Sets the value of "contentType" property. |
|
setCorrelationId(correlationId)
Sets the value of "correlationId" property. |
|
setDeliveryMode(deliveryMode)
Sets the value of "deliveryMode" property. |
|
setExpiration(expiration)
Sets the value of "expiration" property. |
|
setHeaders(headers)
Sets the value of "headers" property. |
|
setMessageId(messageId)
Sets the value of "messageId" property. |
|
setPriority(priority)
Sets the value of "priority" property. |
|
setReplyTo(replyTo)
Sets the value of "replyTo" property. |
|
setTimestamp(date)
Sets the value of "timestamp" property. |
|
setType(type)
Sets the value of "type" property. |
|
setUserId(userId)
Sets the value of "userId" property. |
String
|
toString()
Returns String representation of the properties. |
Constructor Detail |
AmqpProperties(headers)
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.
headers
Method Detail |
String getAppId()
String
String value for "appId" property
String getContentEncoding()
String
String value for "contentEncoding" property
String getContentType()
String
String value for "contentType" property
String getCorrelationId()
String
String value for "correlationId" property
Number getDeliveryMode()
Number
Integer value between 0 and 9 for "deliveryMode" property
Number getExpiration()
Number
String value for "expiration" property
object getHeaders()
object
AmqpArguments as value for "headers" property
String getMessageId()
String
String value for the "messageId" property
Number getPriority()
Number
Integer value for "priority" property between 0 and 9
object getProperties()
object
Object with the name-value pairs
String getReplyTo()
String
String value for "replyTo" property
Number getTimestamp()
Number
Timestamp value for "timestamp" property
String getType()
String
String value for "type" property
String getUserId()
String
String value for "userId" property
setAppId(appId)
appId
- value of "appId" property
setContentEncoding(encoding)
encoding
- value of "contentEncoding" property
setContentType(contentType)
contentType
- value of "contentType" property
setCorrelationId(correlationId)
correlationId
- value of "correlationId" property
setDeliveryMode(deliveryMode)
deliveryMode
- value of "deliveryMode" property
setExpiration(expiration)
expiration
- value of "expiration" property
setHeaders(headers)
headers
- value of "headers" property
setMessageId(messageId)
messageId
- value of "messageId" property
setPriority(priority)
priority
- value of "priority" property
setReplyTo(replyTo)
replyTo
- value of "replyTo" property
setTimestamp(date)
date
- of type Date
setType(type)
type
- value of "type" property
setUserId(userId)
userId
- value of "userId" property
String toString()
String