Each sender must implement this interface. It has the following methods:
init
Initializes the sender, based on the contents of the deliveryConfig object, which contains gateway configuration information
public void init (Context context, Config deliveryConfig) throws BCGSenderException
send
Called by the SenderFramework. It sends the document to the destination using the information specified in the deliveryConfig object. It creates and updates the SenderResult object with delivery status, WebSphere Partner Gateway transport headers, and, in the case of a synchronous flow, the response document. If delivery fails, the sender may try transport retries.
public SenderResult send(BusinessDocumentInterface document)
cancel
Called by the SenderFramework. Stops message delivery and any transport retries.
public SenderResult cancel()
None