case classDeliveryModePersistence(persistent: Boolean = false) extends MessageProperty with Product with Serializable
Property used to inform RabbitMQ of message handling; IE - should the message be persisted to disk, in case of a
Broker restart?
RabbitMQ uses an integer to represent these two states, 1 for non-persistent, 2 for persistent. To reduce confusion,
Op-Rabbit maps these integers to a boolean.
Note, RabbitMQ's default behavior is to NOT persist messages. Also, it is pointless to deliver persistent
messages to a non-durable message queue. Further, non-persistent messages in a durable queue WILL NOT survive
broker restart (unless replication has been configured using an HA policy).
Linear Supertypes
Serializable, Serializable, Product, Equals, MessageProperty, AnyRef, Any
Property used to inform RabbitMQ of message handling; IE - should the message be persisted to disk, in case of a Broker restart?
RabbitMQ uses an integer to represent these two states, 1 for non-persistent, 2 for persistent. To reduce confusion, Op-Rabbit maps these integers to a boolean.
Note, RabbitMQ's default behavior is to NOT persist messages. Also, it is pointless to deliver persistent messages to a non-durable message queue. Further, non-persistent messages in a durable queue WILL NOT survive broker restart (unless replication has been configured using an HA policy).