@IntegrationFeature(clazz=AS2Feature.class, name="as2") public class AS2FeatureImpl extends org.adroitlogic.x.api.AbstractIntegrationFeature implements AS2Feature
Constructor and Description |
---|
AS2FeatureImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAsyncMDNRequested(org.adroitlogic.x.api.XMessageContext messageContext)
This is used to check whether an async MDN is requested and sync MDN is not sent, using the RECEIVE_INFO
object in context property
|
boolean |
isMDNRequested(org.adroitlogic.x.api.XMessageContext messageContext)
This returns whether a MDN is requested or not using the SEND_INFO object in context property.
|
void |
prepareAS2MessageForSend(org.adroitlogic.x.api.XMessageContext messageContext,
AS2Station station,
AS2Partner partner)
Create an AS2 message using the current Message and its attachments, and sets the destination URL of the partner.
|
void |
prepareAsyncMDNForSend(org.adroitlogic.x.api.XMessageContext messageContext)
Prepare the async MDN message to be sent by populating the payload (i.e.
|
void |
processIncomingAS2Message(org.adroitlogic.x.api.XMessageContext messageContext,
AS2Station station,
String partnerId)
Routine to process a new AS2 message received over HTTP/S.
|
AsyncMDNInfo |
processIncomingAsyncMDN(org.adroitlogic.x.api.XMessageContext messageContext,
AS2Station station,
String partnerId)
Routine to process a new asynchronous MDN received for a message sent out by us, requesting an asynchronous MDN.
|
SyncResponseInfo |
processIncomingSyncMDN(org.adroitlogic.x.api.XMessageContext messageContext)
Routine to process the synchronous response received for a AS2 send operation (i.e.
|
public void processIncomingAS2Message(org.adroitlogic.x.api.XMessageContext messageContext, AS2Station station, String partnerId)
processIncomingAS2Message
in interface AS2Feature
messageContext
- the current Message Contextstation
- the AS2 stationpartnerId
- the AS2 partner identifierpublic AsyncMDNInfo processIncomingAsyncMDN(org.adroitlogic.x.api.XMessageContext messageContext, AS2Station station, String partnerId)
processIncomingAsyncMDN
in interface AS2Feature
messageContext
- the current Message Contextstation
- the AS2 stationpartnerId
- the partner AS2 identifierpublic SyncResponseInfo processIncomingSyncMDN(org.adroitlogic.x.api.XMessageContext messageContext)
processIncomingSyncMDN
in interface AS2Feature
messageContext
- the current Message Contextpublic void prepareAS2MessageForSend(org.adroitlogic.x.api.XMessageContext messageContext, AS2Station station, AS2Partner partner)
prepareAS2MessageForSend
in interface AS2Feature
messageContext
- the current Message Contextstation
- the AS2 Stationpartner
- the AS2 Partnerpublic void prepareAsyncMDNForSend(org.adroitlogic.x.api.XMessageContext messageContext)
prepareAsyncMDNForSend
in interface AS2Feature
messageContext
- the current Message Contextpublic boolean isMDNRequested(org.adroitlogic.x.api.XMessageContext messageContext)
isMDNRequested
in interface AS2Feature
messageContext
- the current Message Contextpublic boolean isAsyncMDNRequested(org.adroitlogic.x.api.XMessageContext messageContext)
isAsyncMDNRequested
in interface AS2Feature
messageContext
- the current Message ContextCopyright © 2016–2019 AdroitLogic. All rights reserved.