Search in sources :

Example 1 with IMessageProcessor

use of com.helger.as2lib.processor.IMessageProcessor in project as2-server by phax.

the class AS2ServerXMLSession method loadMessageProcessor.

protected void loadMessageProcessor(final IMicroElement eRootNode) throws OpenAS2Exception {
    s_aLogger.info("  loading message processor");
    final IMessageProcessor aMsgProcessor = AS2XMLHelper.createComponent(eRootNode, IMessageProcessor.class, this, m_sBaseDirectory);
    setMessageProcessor(aMsgProcessor);
    for (final IMicroElement eModule : eRootNode.getAllChildElements("module")) loadProcessorModule(aMsgProcessor, eModule);
}
Also used : IMicroElement(com.helger.xml.microdom.IMicroElement) IMessageProcessor(com.helger.as2lib.processor.IMessageProcessor)

Aggregations

IMessageProcessor (com.helger.as2lib.processor.IMessageProcessor)1 IMicroElement (com.helger.xml.microdom.IMicroElement)1