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.

no subtypes hierarchy

Initializer
DeliveryOptions(String? codecName = null, Map<String,String>? headers = null, Integer? sendTimeout = null)
Parameters:
  • codecName = null

    Set the codec name.

  • headers = null

    Add a message header.

    Message headers can be sent with any message and will be accessible with headers at the recipient.

  • sendTimeout = null

    Set the send timeout.

Attributes
codecNameshared String? codecName

Set the codec name.

headersshared Map<String,String>? headers

Add a message header.

Message headers can be sent with any message and will be accessible with headers at the recipient.

sendTimeoutshared Integer? sendTimeout

Set the send timeout.

Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
toJsonshared actual default JsonObject toJson()
Refines BaseDataObject.toJson
Inherited Methods
Methods inherited from: Object
equals
Methods inherited from: BaseDataObject
toJson