public abstract class AbstractSenderModule extends AbstractProcessorModule implements IProcessorSenderModule
m_aRWLockDO_SEND, DO_SEND_ASYNC_MDN| Constructor and Description |
|---|
AbstractSenderModule() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doResend(String sResendAction,
IMessage aMsg,
AS2Exception aCause,
int nTriesLeft) |
protected int |
getRetryCount(Partnership aPartnerhsip,
Map<String,Object> aOptions)
How many times should this message be sent?
|
attrs, equals, getAttributeAsIntRequired, getAttributeAsStringRequired, getName, getSession, hashCode, initDynamicComponent, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanHandle, handleattrs, getName, getSession, initDynamicComponent@Nonnegative protected final int getRetryCount(@Nullable Partnership aPartnerhsip, @Nullable Map<String,Object> aOptions)
aPartnerhsip - Partnership to be used. May be nullaOptions - Options to choose from. May be null.protected final boolean doResend(@Nonnull String sResendAction, @Nonnull IMessage aMsg, @Nullable AS2Exception aCause, int nTriesLeft) throws AS2Exception
sResendAction - Handler action name to use. May not be null.aMsg - The message to be resend. May be an AS2 message or an MDN.aCause - The error cause.nTriesLeft - The number of retries left.true if the message was scheduled for re-sending.AS2Exception - In case of an errorCopyright © 2013–2022 Philip Helger. All rights reserved.