public interface IMessageProcessor extends IDynamicComponent
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_PENDINGMDN |
static String |
ATTR_PENDINGMDNINFO |
| Modifier and Type | Method and Description |
|---|---|
void |
addModule(IProcessorModule aModule) |
com.helger.commons.collection.impl.ICommonsList<IProcessorActiveModule> |
getAllActiveModules() |
com.helger.commons.collection.impl.ICommonsList<IProcessorModule> |
getAllModules() |
<T extends IProcessorModule> |
getAllModulesOfClass(Class<T> aClass) |
int |
getModuleCount() |
<T extends IProcessorModule> |
getModuleOfClass(Class<T> aClass) |
default String |
getPendingMDNFolder() |
default String |
getPendingMDNInfoFolder() |
void |
handle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
com.helger.commons.state.EChange |
removeModule(IProcessorModule aModule) |
default void |
setPendingMDNFolder(String sPendingMDNFolder)
Set the name of the folder that contains the messages with the pending MDN.
|
default void |
setPendingMDNInfoFolder(String sPendingMDNInfoFolder)
Set the name of the folder that contains the pending MDN information files.
|
void |
startActiveModules()
Call
start on all modules that implement the
IProcessorActiveModule interface. |
void |
stopActiveModules()
Call
stop on all modules that implement the
IProcessorActiveModule interface. |
attrs, getName, getSession, initDynamicComponentstatic final String ATTR_PENDINGMDN
static final String ATTR_PENDINGMDNINFO
@Nullable default String getPendingMDNFolder()
null.ATTR_PENDINGMDNdefault void setPendingMDNFolder(@Nonnull @Nonempty String sPendingMDNFolder)
sPendingMDNFolder - The name of the folder. May neither be null nor empty.ATTR_PENDINGMDN@Nullable default String getPendingMDNInfoFolder()
null.ATTR_PENDINGMDNINFOdefault void setPendingMDNInfoFolder(@Nonnull @Nonempty String sPendingMDNInfoFolder)
sPendingMDNInfoFolder - The name of the folder. May neither be null nor empty.ATTR_PENDINGMDNINFOvoid handle(@Nonnull String sAction, @Nonnull IMessage aMsg, @Nullable Map<String,Object> aOptions) throws AS2Exception
AS2Exceptionvoid addModule(@Nonnull IProcessorModule aModule)
@Nonnull com.helger.commons.state.EChange removeModule(@Nullable IProcessorModule aModule)
@Nonnegative int getModuleCount()
@Nonnull @ReturnsMutableCopy com.helger.commons.collection.impl.ICommonsList<IProcessorModule> getAllModules()
@Nullable <T extends IProcessorModule> T getModuleOfClass(@Nonnull Class<T> aClass)
@Nonnull @ReturnsMutableCopy <T extends IProcessorModule> com.helger.commons.collection.impl.ICommonsList<T> getAllModulesOfClass(@Nonnull Class<T> aClass)
@Nonnull @ReturnsMutableCopy com.helger.commons.collection.impl.ICommonsList<IProcessorActiveModule> getAllActiveModules()
IProcessorActiveModule interface. Never
null but maybe empty.void startActiveModules()
start on all modules that implement the
IProcessorActiveModule interface.void stopActiveModules()
stop on all modules that implement the
IProcessorActiveModule interface.Copyright © 2013–2022 Philip Helger. All rights reserved.