com.rabbitmq.client
Interface BasicProperties

All Known Implementing Classes:
AMQBasicProperties, AMQP.BasicProperties

public interface BasicProperties


Method Summary
 java.lang.String getAppId()
          Retrieve the value in the appId field.
 java.lang.String getContentEncoding()
          Retrieve the value in the contentEncoding field.
 java.lang.String getContentType()
          Retrieve the value in the contentType field.
 java.lang.String getCorrelationId()
          Retrieve the value in the correlationId field.
 java.lang.Integer getDeliveryMode()
          Retrieve the value in the deliveryMode field.
 java.lang.String getExpiration()
          Retrieve the value in the expiration field.
 java.util.Map<java.lang.String,java.lang.Object> getHeaders()
          Retrieve the table in the headers field as a map of fields names and values.
 java.lang.String getMessageId()
          Retrieve the value in the messageId field.
 java.lang.Integer getPriority()
          Retrieve the value in the priority field.
 java.lang.String getReplyTo()
          Retrieve the value in the replyTo field.
 java.util.Date getTimestamp()
          Retrieve the value in the timestamp field.
 java.lang.String getType()
          Retrieve the value in the type field.
 java.lang.String getUserId()
          Retrieve the value in the userId field.
 void setAppId(java.lang.String appId)
          Deprecated. 
 void setContentEncoding(java.lang.String contentEncoding)
          Deprecated. 
 void setContentType(java.lang.String contentType)
          Deprecated. 
 void setCorrelationId(java.lang.String correlationId)
          Deprecated. 
 void setDeliveryMode(java.lang.Integer deliveryMode)
          Deprecated. 
 void setExpiration(java.lang.String expiration)
          Deprecated. 
 void setHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)
          Deprecated. 
 void setMessageId(java.lang.String messageId)
          Deprecated. 
 void setPriority(java.lang.Integer priority)
          Deprecated. 
 void setReplyTo(java.lang.String replyTo)
          Deprecated. 
 void setTimestamp(java.util.Date timestamp)
          Deprecated. 
 void setType(java.lang.String type)
          Deprecated. 
 void setUserId(java.lang.String userId)
          Deprecated. 
 

Method Detail

getContentType

java.lang.String getContentType()
Retrieve the value in the contentType field.

Returns:
contentType field, or null if the field has not been set.

getContentEncoding

java.lang.String getContentEncoding()
Retrieve the value in the contentEncoding field.

Returns:
contentEncoding field, or null if the field has not been set.

getHeaders

java.util.Map<java.lang.String,java.lang.Object> getHeaders()
Retrieve the table in the headers field as a map of fields names and values.

Returns:
headers table, or null if the headers field has not been set.

getDeliveryMode

java.lang.Integer getDeliveryMode()
Retrieve the value in the deliveryMode field.

Returns:
deliveryMode field, or null if the field has not been set.

getPriority

java.lang.Integer getPriority()
Retrieve the value in the priority field.

Returns:
priority field, or null if the field has not been set.

getCorrelationId

java.lang.String getCorrelationId()
Retrieve the value in the correlationId field.

Returns:
correlationId field, or null if the field has not been set.

getReplyTo

java.lang.String getReplyTo()
Retrieve the value in the replyTo field.

Returns:
replyTo field, or null if the field has not been set.

getExpiration

java.lang.String getExpiration()
Retrieve the value in the expiration field.

Returns:
expiration field, or null if the field has not been set.

getMessageId

java.lang.String getMessageId()
Retrieve the value in the messageId field.

Returns:
messageId field, or null if the field has not been set.

getTimestamp

java.util.Date getTimestamp()
Retrieve the value in the timestamp field.

Returns:
timestamp field, or null if the field has not been set.

getType

java.lang.String getType()
Retrieve the value in the type field.

Returns:
type field, or null if the field has not been set.

getUserId

java.lang.String getUserId()
Retrieve the value in the userId field.

Returns:
userId field, or null if the field has not been set.

getAppId

java.lang.String getAppId()
Retrieve the value in the appId field.

Returns:
appId field, or null if the field has not been set.

setContentType

@Deprecated
void setContentType(java.lang.String contentType)
Deprecated. 

Set the contentType field, or null indicating the field is not set

Parameters:
contentType - the value to set the field to

setContentEncoding

@Deprecated
void setContentEncoding(java.lang.String contentEncoding)
Deprecated. 

Set the contentEncoding field, or null indicating the field is not set

Parameters:
contentEncoding - - the value to set the field to

setHeaders

@Deprecated
void setHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)
Deprecated. 

Set the headers table, or null indicating the field is not set

Parameters:
headers - a map of table field names and values

setDeliveryMode

@Deprecated
void setDeliveryMode(java.lang.Integer deliveryMode)
Deprecated. 

Set the deliveryMode field, or null indicating the field is not set

Parameters:
deliveryMode - the value to set the field to

setPriority

@Deprecated
void setPriority(java.lang.Integer priority)
Deprecated. 

Set the priority field, or null indicating the field is not set

Parameters:
priority - the value to set the field to

setCorrelationId

@Deprecated
void setCorrelationId(java.lang.String correlationId)
Deprecated. 

Set the correlationId field, or null indicating the field is not set

Parameters:
correlationId - the value to set the field to

setReplyTo

@Deprecated
void setReplyTo(java.lang.String replyTo)
Deprecated. 

Set the replyTo field, or null indicating the field is not set

Parameters:
replyTo - the value to set the field to

setExpiration

@Deprecated
void setExpiration(java.lang.String expiration)
Deprecated. 

Set the expiration field, or null indicating the field is not set

Parameters:
expiration - the value to set the field to

setMessageId

@Deprecated
void setMessageId(java.lang.String messageId)
Deprecated. 

Set the messageId field, or null indicating the field is not set

Parameters:
messageId - the value to set the field to

setTimestamp

@Deprecated
void setTimestamp(java.util.Date timestamp)
Deprecated. 

Set the timestamp field, or null indicating the field is not set

Parameters:
timestamp - the value to set the field to

setType

@Deprecated
void setType(java.lang.String type)
Deprecated. 

Set the type field, or null indicating the field is not set

Parameters:
type - the value to set the field to

setUserId

@Deprecated
void setUserId(java.lang.String userId)
Deprecated. 

Set the userId field, or null indicating the field is not set

Parameters:
userId - the value to set the field to

setAppId

@Deprecated
void setAppId(java.lang.String appId)
Deprecated. 

Set the appId field, or null indicating the field is not set

Parameters:
appId - the value to set the field to