Overriding Target Connector Delivery Modes
You can override the delivery mode set for a target connector by using the .IBConnectorInfo.DeliveryMode property of the IBInfo object and setting it equal to one of the following values:
| Field or Control | Description |
|---|---|
|
%IB_DM_BestEffort |
Sets the delivery mode to Best Effort. Example:
|
|
%IB_DM_Guarantee |
Sets the delivery mode to Guaranteed Delivery. Example:
|
|
%IB_DM_Reset |
Clears any PeopleCode delivery mode override. Example:
|
The following pseudocode shows overriding the delivery mode to Best Effort prior to a publish:
&MSG=CreateMessage(OPERATION.FLIGHTPLAN);
&MSG.CopyRowset(&FLIGHT_PROFILE);
&Bo=&MSG.IBInfor.LoadConnectorPropFromRouting("FLIGHTPLAN_ASYNC");
&MSG.IBInfo.ConnectorOverride=True;
&MSG.IBInfo.ConnecotrInfo.DeliveryMode=%IB_DM_BestEffort;
%IntBroker.Publish(&MSG);