DeliveryOptions

Delivery options are used to configure message delivery.

Delivery options allow to configure delivery timeout and message codec name, and to provide any headers that you wish to send with the message.

package

Default

Methods

DeliveryOptions constructor

__construct( $deliveryOptions = null) 

Arguments

$deliveryOptions

mixed | null

addHeader

addHeader( $key,  $value) : $this

Arguments

$key

String

$value

String

Response

$this

getCodecName

getCodecName() : string

Response

string

getSendTimeout

getSendTimeout() : integer

Response

integer

isLocalOnly

isLocalOnly() : boolean

Response

boolean

setCodecName

setCodecName( $codecName) : $this

Arguments

$codecName

string

Response

$this

setLocalOnly

setLocalOnly( $localOnly) : $this

Arguments

$localOnly

boolean

Response

$this

setSendTimeout

setSendTimeout( $sendTimeout) : $this

Arguments

$sendTimeout

integer

Response

$this