Component, ActiveModule, ProcessorModule, ReceiverModuleAS2FileReceiverModule, PollingModulepublic abstract class MessageBuilderModule extends BaseReceiverModule
| Modifier and Type | Field | Description |
|---|---|---|
static String |
PARAM_DEFAULTS |
|
static String |
PARAM_DELIMITERS |
|
static String |
PARAM_ERROR_DIRECTORY |
|
static String |
PARAM_FORMAT |
|
static String |
PARAM_MIMETYPE |
|
static String |
PARAM_RESEND_MAX_RETRIES |
|
static String |
PARAM_SENT_DIRECTORY |
| Constructor | Description |
|---|---|
MessageBuilderModule() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
buildMessageData(Message msg,
InputStream ip,
String filename) |
|
Message |
buildMessageMetadata(String filename) |
|
protected abstract Message |
createMessage() |
|
void |
init(Session session,
Map<String,String> options) |
Component lifecycle hook.
|
protected Message |
processDocument(InputStream ip,
String filename) |
healthcheck, isRunning, start, stopcanHandle, doStart, doStop, forceStop, handle, healthcheck, isRunning, start, stop, toStringdestroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameterdestroy, getName, getParameters, getSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanHandle, handlepublic static final String PARAM_ERROR_DIRECTORY
public static final String PARAM_SENT_DIRECTORY
public static final String PARAM_FORMAT
public static final String PARAM_DELIMITERS
public static final String PARAM_DEFAULTS
public static final String PARAM_MIMETYPE
public static final String PARAM_RESEND_MAX_RETRIES
public void init(Session session, Map<String,String> options) throws OpenAS2Exception
Componentinit in interface Componentinit in class BaseComponentsession - the component uses this object to access other componentsoptions - configuration values for the componentOpenAS2Exception - If an error occurs while initializing the componentSessionprotected Message processDocument(InputStream ip, String filename) throws OpenAS2Exception, FileNotFoundException
protected abstract Message createMessage()
public Message buildMessageMetadata(String filename) throws OpenAS2Exception
OpenAS2Exceptionpublic void buildMessageData(Message msg, InputStream ip, String filename) throws OpenAS2Exception
OpenAS2ExceptionCopyright © 2018. All rights reserved.