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