Package com.rabbitmq.client
Class MessageProperties
java.lang.Object
com.rabbitmq.client.MessageProperties
Constant holder class with useful static instances of
AMQContentHeader
.
These are intended for use with Channel.basicPublish(java.lang.String, java.lang.String, com.rabbitmq.client.AMQP.BasicProperties, byte[])
and other Channel methods.-
Field Summary
Modifier and TypeFieldDescriptionstatic final AMQP.BasicProperties
Content-type "application/octet-stream", deliveryMode 1 (nonpersistent), priority zerostatic final AMQP.BasicProperties
Empty basic properties, with no fields setstatic final AMQP.BasicProperties
Empty basic properties, with only deliveryMode set to 2 (persistent)static final AMQP.BasicProperties
Content-type "application/octet-stream", deliveryMode 2 (persistent), priority zerostatic final AMQP.BasicProperties
Content-type "text/plain", deliveryMode 2 (persistent), priority zerostatic final AMQP.BasicProperties
Content-type "text/plain", deliveryMode 1 (nonpersistent), priority zero -
Constructor Summary
-
Method Summary
-
Field Details
-
MINIMAL_BASIC
Empty basic properties, with no fields set -
MINIMAL_PERSISTENT_BASIC
Empty basic properties, with only deliveryMode set to 2 (persistent) -
BASIC
Content-type "application/octet-stream", deliveryMode 1 (nonpersistent), priority zero -
PERSISTENT_BASIC
Content-type "application/octet-stream", deliveryMode 2 (persistent), priority zero -
TEXT_PLAIN
Content-type "text/plain", deliveryMode 1 (nonpersistent), priority zero -
PERSISTENT_TEXT_PLAIN
Content-type "text/plain", deliveryMode 2 (persistent), priority zero
-
-
Constructor Details
-
MessageProperties
public MessageProperties()
-