public class SapLUWManager extends FixedForwardPipe implements IPipeLineExitHandler
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_BEGIN |
static String |
ACTION_COMMIT |
static String |
ACTION_RELEASE |
static String |
ACTION_ROLLBACK |
parameterNamesMustBeUnique
log
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
Constructor and Description |
---|
SapLUWManager() |
Modifier and Type | Method and Description |
---|---|
void |
atEndOfPipeLine(String correlationId,
PipeLineResult pipeLineResult,
PipeLineSession session)
Called to allow registered handler to perform cleanup or commit/rollback.
|
void |
configure()
checks for correct configuration of forward
|
PipeRunResult |
doPipe(Message message,
PipeLineSession session)
This is where the action takes place.
|
SapSystemImpl |
getSapSystem() |
void |
setAction(String string)
One of: begin, commit, rollback, release
|
void |
setLuwHandleSessionKey(String string)
Session key under which information is stored
|
void |
setSapSystemName(String string)
Name of the SapSystem used by this object
|
void |
start()
Perform necessary action to start the pipe.
|
void |
stop()
Perform necessary actions to stop the
Pipe .For instance, closing JMS connections, DBMS connections etc. |
getParameterValue, setIfParam, setIfValue, setOnlyIfSessionKey, setOnlyIfValue, setSkipOnEmptyInput, setUnlessSessionKey, setUnlessValue, skipPipe
addParameter, consumesSessionVariable, createBean, findForward, getAdapter, getEventSourceName, getForwards, getInSizeStatDummyObject, getOutSizeStatDummyObject, getParameterList, getParameterOverriddenAttributeValue, getParameterValueList, hasSizeStatistics, registerEvent, registerForward, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, throwEvent
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, setName
getChompCharSize, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getGetInputFromFixedValue, getGetInputFromSessionKey, getLocker, getSecLogSessionKeys, getStoreResultInSessionKey, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, setPipeLine
getMaxThreads
getApplicationContext, getName
getConfigurationClassLoader
getName
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttribute
public static final String ACTION_BEGIN
public static final String ACTION_COMMIT
public static final String ACTION_ROLLBACK
public static final String ACTION_RELEASE
public void configure() throws ConfigurationException
FixedForwardPipe
configure
in interface IConfigurable
configure
in interface IPipe
configure
in class FixedForwardPipe
ConfigurationException
public void atEndOfPipeLine(String correlationId, PipeLineResult pipeLineResult, PipeLineSession session) throws PipeRunException
IPipeLineExitHandler
atEndOfPipeLine
in interface IPipeLineExitHandler
correlationId
- correlationId of current sessionpipeLineResult
- the result of the PipeLinesession
- the PipeLineSessionPipeRunException
public void start() throws PipeStartException
IPipe
IPipe.configure()
method, for each start and stop command of the
adapter.start
in interface IPipe
start
in class AbstractPipe
PipeStartException
public void stop()
IPipe
Pipe
.stop
in interface IPipe
stop
in class AbstractPipe
public PipeRunResult doPipe(Message message, PipeLineSession session) throws PipeRunException
AbstractPipe
doPipe
in interface IPipe
doPipe
in class AbstractPipe
PipeRunException
public SapSystemImpl getSapSystem()
public void setSapSystemName(String string)
public void setAction(String string)
public void setLuwHandleSessionKey(String string)
Copyright © 2023 Frank!Framework. All rights reserved.