public interface PersistenceService
| Modifier and Type | Method and Description |
|---|---|
Partner |
getPartner(java.lang.String id)
Lookup partner information from persistence database
|
void |
preparedMDNForSend(ReceiveInfo rcvInfo,
Message msg)
Record the preparation of a MDN to be sent back
|
void |
preparedMessageForSend(SendInfo sndInfo,
Message msg)
Record the preparation of an AS2 message for sending to a partner
|
void |
receivedAS2Message(ReceiveInfo rcvInfo,
Message msg,
java.util.List attachments)
Persist a received AS2 Message
|
void |
receivedASyncMDN(AsyncMDNInfo rcvInfo,
Message msg,
java.util.List attachments)
Persist a received asynchronous MDN
|
void |
receivedSyncMDN(SyncResponseInfo rcvInfo,
Message msg,
java.util.List attachments)
Persist a received synchronous MDN
|
void |
updateMessagePreparedForSend(java.lang.String msgId,
boolean failed,
int transportStatus)
Record the outcome of a message prepared for sending
|
void receivedAS2Message(ReceiveInfo rcvInfo, Message msg, java.util.List attachments)
rcvInfo - bean holding information on receipt of the new messagemsg - raw message (HTTP/S) receivedattachments - processed payload attachmentsvoid receivedSyncMDN(SyncResponseInfo rcvInfo, Message msg, java.util.List attachments)
rcvInfo - bean holding information on the sync response receivedmsg - raw message (HTTP/S) receivedattachments - processed payload attachmentsvoid receivedASyncMDN(AsyncMDNInfo rcvInfo, Message msg, java.util.List attachments)
rcvInfo - bean holding information on the async response receivedmsg - raw message (HTTP/S) receivedattachments - processed payload attachmentsvoid preparedMDNForSend(ReceiveInfo rcvInfo, Message msg)
rcvInfo - bean holding information on receipt of the original messagemsg - raw message to be used for the MDNvoid preparedMessageForSend(SendInfo sndInfo, Message msg)
sndInfo - bean holding information about the send operationmsg - raw message to be used for the MDNvoid updateMessagePreparedForSend(java.lang.String msgId,
boolean failed,
int transportStatus)
msgId - the AS2 message IDfailed - whether the send failedtransportStatus - if the send succeeded, the transport level status receivedPartner getPartner(java.lang.String id)
id - AS2 identifier of the Partner