DeliveryMode property: IBInfo class

Description

This property sets or returns the delivery mode override for the connector as an integer. This property takes one of three system constants to set the delivery mode override:

Constant Value Description

%IB_DM_BestEffort

Sets the delivery mode to best effort. If the delivery mode is set to best effort, then only one attempt is made to send the message to the destination; there is no attempt to retry the message.

%IB_DM_Guarantee

Sets the delivery mode to guaranteed. This mode automatically invokes retry logic to ensure that the message is successfully sent to a destination. This is the default delivery mode.

%IB_DM_Reset

Resets the delivery mode to the value defined outside the PeopleCode program.

This property is read/write.

Example

&int = &MSG.IBInfo.DeliveryMode = %IB_DM_BestEffort;