MessageDeliveryMode Property

The delivery mode of the message.

Object Oriented Interface

public function getMessageDeliveryMode();
public function setMessageDeliveryMode($value);

Procedural Interface

ipworksmq_amqpclassic_get($res, 47 );
ipworksmq_amqpclassic_set($res, 47, $value );

Default Value

0

Remarks

The delivery mode of the message.

This property holds the delivery mode of the message; possible values are:

  • 0: Unspecified.
  • 1: Non-persistent; the message may be lost if the server encounters an error.
  • 2: Persistent; the message will not be lost, even in case of server errors.

The default is 0, which indicates that the message does not have an explicit delivery mode set.

This property is not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 PHP Edition - Version 20.0 [Build 8155]