Package com.helger.as2lib.processor
Class DefaultMessageProcessor
- java.lang.Object
-
- com.helger.as2lib.AbstractDynamicComponent
-
- com.helger.as2lib.processor.AbstractMessageProcessor
-
- com.helger.as2lib.processor.DefaultMessageProcessor
-
- All Implemented Interfaces:
IDynamicComponent
,IMessageProcessor
@NotThreadSafe public class DefaultMessageProcessor extends AbstractMessageProcessor
This is the default implementation ofIMessageProcessor
. It handles all actions synchronously.- Author:
- Philip Helger
-
-
Field Summary
-
Fields inherited from class com.helger.as2lib.AbstractDynamicComponent
m_aRWLock
-
Fields inherited from interface com.helger.as2lib.processor.IMessageProcessor
ATTR_PENDINGMDN, ATTR_PENDINGMDNINFO
-
-
Constructor Summary
Constructors Constructor Description DefaultMessageProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(String sAction, IMessage aMsg, Map<String,Object> aOptions)
-
Methods inherited from class com.helger.as2lib.processor.AbstractMessageProcessor
addModule, equals, executeAction, getAllActiveModules, getAllModules, getAllModulesOfClass, getModuleCount, getModuleOfClass, hashCode, removeModule, startActiveModules, stopActiveModules
-
Methods inherited from class com.helger.as2lib.AbstractDynamicComponent
attrs, getAttributeAsIntRequired, getAttributeAsStringRequired, getName, getSession, initDynamicComponent, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.helger.as2lib.IDynamicComponent
attrs, getName, getSession, initDynamicComponent
-
Methods inherited from interface com.helger.as2lib.processor.IMessageProcessor
getPendingMDNFolder, getPendingMDNInfoFolder, setPendingMDNFolder, setPendingMDNInfoFolder
-
-
-
-
Method Detail
-
handle
public void handle(@Nonnull String sAction, @Nonnull IMessage aMsg, @Nullable Map<String,Object> aOptions) throws AS2Exception
- Throws:
AS2Exception
-
-