public interface IAdapter extends IManagable, HasStatistics
IReceiver
s as well as the PipeLine
and statistics.
The Adapter is the class that is responsible for configuring, initializing and
accessing/activating IReceivers, Pipelines, statistics etc.HasStatistics.Action
Modifier and Type | Method and Description |
---|---|
void |
configure()
Instruct the adapter to configure itself.
|
Message |
formatErrorMessage(String errorMessage,
Throwable t,
Message originalMessage,
String messageID,
INamedObject objectInError,
long receivedTime) |
Configuration |
getConfiguration() |
String |
getDescription() |
MessageKeeper |
getMessageKeeper()
The messagekeeper is used to keep the last x messages, relevant to display in
the web-functions.
|
PipeLine |
getPipeLine() |
Receiver<?> |
getReceiverByName(String receiverName) |
Iterable<Receiver<?>> |
getReceivers() |
boolean |
isAutoStart() |
PipeLineResult |
processMessage(String messageId,
Message message,
PipeLineSession pipeLineSession) |
PipeLineResult |
processMessageWithExceptions(String messageId,
Message message,
PipeLineSession pipeLineSession) |
void |
setConfiguration(Configuration configuration) |
void |
setPipeLine(PipeLine pipeline) |
getRunState, startRunning, stopRunning
getName, setName
getApplicationContext, getName
getConfigurationClassLoader
setApplicationContext
iterateOverStatistics
void configure() throws ConfigurationException
configure
in interface IConfigurable
ConfigurationException
AbstractPipe.configure()
,
PipeLine.configure()
MessageKeeper getMessageKeeper()
PipeLineResult processMessage(String messageId, Message message, PipeLineSession pipeLineSession)
PipeLineResult processMessageWithExceptions(String messageId, Message message, PipeLineSession pipeLineSession) throws ListenerException
ListenerException
void setPipeLine(PipeLine pipeline) throws ConfigurationException
ConfigurationException
PipeLine getPipeLine()
void setConfiguration(Configuration configuration)
Configuration getConfiguration()
boolean isAutoStart()
Message formatErrorMessage(String errorMessage, Throwable t, Message originalMessage, String messageID, INamedObject objectInError, long receivedTime)
@JmxAttribute(description="Return the Adapter description") String getDescription()
Copyright © 2023 Frank!Framework. All rights reserved.