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