public class MutableBasicProperties
extends java.lang.Object
implements com.rabbitmq.client.BasicProperties
Constructor and Description |
---|
MutableBasicProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAppId() |
java.lang.String |
getClusterId() |
java.lang.String |
getContentEncoding() |
java.lang.String |
getContentType() |
java.lang.String |
getCorrelationId() |
java.lang.Integer |
getDeliveryMode() |
java.lang.String |
getExpiration() |
java.util.Map<java.lang.String,java.lang.Object> |
getHeaders() |
java.lang.String |
getMessageId() |
java.lang.Integer |
getPriority() |
java.lang.String |
getReplyTo() |
java.util.Date |
getTimestamp() |
java.lang.String |
getType() |
java.lang.String |
getUserId() |
void |
setAppId(java.lang.String appId)
Sets the app id.
|
void |
setClusterId(java.lang.String clusterId)
Sets the cluster id.
|
void |
setContentEncoding(java.lang.String contentEncoding)
Sets the content encoding.
|
void |
setContentType(java.lang.String contentType)
Sets the content type.
|
void |
setCorrelationId(java.lang.String correlationId)
Sets the correlation id.
|
void |
setDeliveryMode(java.lang.Integer deliveryMode)
Sets the delivery mode.
|
void |
setExpiration(java.lang.String expiration)
Sets the expiration.
|
void |
setHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)
Sets the headers.
|
void |
setMessageId(java.lang.String messageId)
Sets the message id.
|
void |
setPriority(java.lang.Integer priority)
Sets the priority.
|
void |
setReplyTo(java.lang.String replyTo)
Sets the reply to.
|
void |
setTimestamp(java.util.Date timestamp)
Sets the timestamp.
|
void |
setType(java.lang.String type)
Sets the type.
|
void |
setUserId(java.lang.String userId)
Sets the user id.
|
com.rabbitmq.client.AMQP.BasicProperties |
toBasicProperties()
Converts the mutable properties to the RabbitMQ properties.
|
public java.lang.String getContentType()
getContentType
in interface com.rabbitmq.client.BasicProperties
public void setContentType(java.lang.String contentType)
contentType
- The content typepublic java.lang.String getContentEncoding()
getContentEncoding
in interface com.rabbitmq.client.BasicProperties
public void setContentEncoding(java.lang.String contentEncoding)
contentEncoding
- The content encodingpublic java.util.Map<java.lang.String,java.lang.Object> getHeaders()
getHeaders
in interface com.rabbitmq.client.BasicProperties
public void setHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)
headers
- The headerspublic java.lang.Integer getDeliveryMode()
getDeliveryMode
in interface com.rabbitmq.client.BasicProperties
public void setDeliveryMode(java.lang.Integer deliveryMode)
deliveryMode
- The delivery modepublic java.lang.Integer getPriority()
getPriority
in interface com.rabbitmq.client.BasicProperties
public void setPriority(java.lang.Integer priority)
priority
- The prioritypublic java.lang.String getCorrelationId()
getCorrelationId
in interface com.rabbitmq.client.BasicProperties
public void setCorrelationId(java.lang.String correlationId)
correlationId
- The correlation idpublic java.lang.String getReplyTo()
getReplyTo
in interface com.rabbitmq.client.BasicProperties
public void setReplyTo(java.lang.String replyTo)
replyTo
- The reply topublic java.lang.String getExpiration()
getExpiration
in interface com.rabbitmq.client.BasicProperties
public void setExpiration(java.lang.String expiration)
expiration
- The expirationpublic java.lang.String getMessageId()
getMessageId
in interface com.rabbitmq.client.BasicProperties
public void setMessageId(java.lang.String messageId)
messageId
- The message idpublic java.util.Date getTimestamp()
getTimestamp
in interface com.rabbitmq.client.BasicProperties
public void setTimestamp(java.util.Date timestamp)
timestamp
- The timestamppublic java.lang.String getType()
getType
in interface com.rabbitmq.client.BasicProperties
public void setType(java.lang.String type)
type
- The typepublic java.lang.String getUserId()
getUserId
in interface com.rabbitmq.client.BasicProperties
public void setUserId(java.lang.String userId)
userId
- The user idpublic java.lang.String getAppId()
getAppId
in interface com.rabbitmq.client.BasicProperties
public void setAppId(java.lang.String appId)
appId
- The app idpublic java.lang.String getClusterId()
public void setClusterId(java.lang.String clusterId)
clusterId
- The cluster idpublic com.rabbitmq.client.AMQP.BasicProperties toBasicProperties()