public interface PersistenceService
Modifier and Type | Method and Description |
---|---|
Partner |
getPartner(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,
List<AttachmentDetails> attachments)
Persist a received AS2 Message
|
void |
receivedASyncMDN(AsyncMDNInfo rcvInfo,
Message msg,
List<AttachmentDetails> attachments)
Persist a received asynchronous MDN
|
void |
receivedSyncMDN(SyncResponseInfo rcvInfo,
Message msg,
List<AttachmentDetails> attachments)
Persist a received synchronous MDN
|
void |
updateMessagePreparedForSend(String msgId,
boolean failed,
int transportStatus)
Record the outcome of a message prepared for sending
|
void receivedAS2Message(ReceiveInfo rcvInfo, Message msg, List<AttachmentDetails> attachments)
rcvInfo
- bean holding information on receipt of the new messagemsg
- raw message (HTTP/S) receivedattachments
- processed payload attachmentsvoid receivedSyncMDN(SyncResponseInfo rcvInfo, Message msg, List<AttachmentDetails> attachments)
rcvInfo
- bean holding information on the sync response receivedmsg
- raw message (HTTP/S) receivedattachments
- processed payload attachmentsvoid receivedASyncMDN(AsyncMDNInfo rcvInfo, Message msg, List<AttachmentDetails> 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(String msgId, boolean failed, int transportStatus)
msgId
- the AS2 message IDfailed
- whether the send failedtransportStatus
- if the send succeeded, the transport level status receivedCopyright © 2010–2016 AdroitLogic. All rights reserved.