public class MessageProperties extends Object
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.Modifier and Type | Field and Description |
---|---|
static AMQP.BasicProperties |
BASIC
Content-type "application/octet-stream", deliveryMode 1 (nonpersistent), priority zero
|
static AMQP.BasicProperties |
MINIMAL_BASIC
Empty basic properties, with no fields set
|
static 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 zero
|
static AMQP.BasicProperties |
PERSISTENT_TEXT_PLAIN
Content-type "text/plain", deliveryMode 2 (persistent), priority zero
|
static AMQP.BasicProperties |
TEXT_PLAIN
Content-type "text/plain", deliveryMode 1 (nonpersistent), priority zero
|
Constructor and Description |
---|
MessageProperties() |
public static final AMQP.BasicProperties MINIMAL_BASIC
public static final AMQP.BasicProperties MINIMAL_PERSISTENT_BASIC
public static final AMQP.BasicProperties BASIC
public static final AMQP.BasicProperties PERSISTENT_BASIC
public static final AMQP.BasicProperties TEXT_PLAIN
public static final AMQP.BasicProperties PERSISTENT_TEXT_PLAIN
Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.