public interface IExtendedPipe extends IPipe
Modifier and Type | Field and Description |
---|---|
static String |
LONG_DURATION_MONITORING_EVENT |
static String |
MESSAGE_SIZE_MONITORING_EVENT |
static String |
PIPE_EXCEPTION_MONITORING_EVENT |
Modifier and Type | Method and Description |
---|---|
String |
getChompCharSize() |
long |
getDurationThreshold() |
String |
getElementToMove() |
String |
getElementToMoveChain() |
String |
getElementToMoveSessionKey() |
String |
getEmptyInputReplacement() |
String |
getGetInputFromFixedValue() |
String |
getGetInputFromSessionKey() |
Locker |
getLocker() |
String |
getSecLogSessionKeys() |
String |
getStoreResultInSessionKey() |
boolean |
hasSizeStatistics() |
boolean |
isPreserveInput() |
boolean |
isRemoveCompactMsgNamespaces() |
boolean |
isRestoreMovedElements() |
boolean |
isWriteToSecLog() |
void |
registerEvent(String description)
Register an event for flexible monitoring.
|
void |
setChompCharSize(String string)
If set (>=0) and the character data length inside a xml element exceeds this size, the character data is chomped (with a clear comment)
|
void |
setDurationThreshold(long maxDuration)
If durationThreshold >=0 and the duration of the message processing exceeded the value specified (in milliseconds) the message is logged informatory to be analyzed
|
void |
setElementToMove(String string)
If set, the character data in this element is stored under a session key and in the message replaced by a reference to this session key: {sessionkey: +
elementToMoveSessionKey + } |
void |
setElementToMoveChain(String string)
Like
elementToMove but element is preceded with all ancestor elements and separated by semicolons (e.g. |
void |
setElementToMoveSessionKey(String string)
(Only used when
elementToMove is set) Name of the session key under which the character data is stored |
void |
setEmptyInputReplacement(String string)
If set and the input is empty, this fixed value is taken as input
|
void |
setGetInputFromFixedValue(String string)
If set, this fixed value is taken as input, instead of regular input
|
void |
setGetInputFromSessionKey(String string)
If set, input is taken from this session key, instead of regular input
|
void |
setLocker(Locker locker)
Optional Locker, to avoid parallel execution of the Pipe by multiple threads or servers.
|
void |
setPipeLine(PipeLine pipeline)
Extension, allowing Pipes to register things with the PipeLine at Configuration time.
|
void |
setPreserveInput(boolean preserveInput)
If set
true , the result of the pipe is replaced with the original input (i.e. |
void |
setRemoveCompactMsgNamespaces(boolean b) |
void |
setRestoreMovedElements(boolean restoreMovedElements)
If set
true , compacted messages in the result are restored to their original format (see also setElementToMove(java.lang.String) ) |
void |
setSecLogSessionKeys(String string)
(Only used when
writetoseclog=true ) Comma separated list of keys of session variables that is appended to the security log record |
void |
setStoreResultInSessionKey(String string)
If set, the result (before replacing when
true ) is stored under this session key |
void |
setWriteToSecLog(boolean b) |
void |
throwEvent(String event)
Throw an event for flexible monitoring.
|
configure, consumesSessionVariable, doPipe, getForwards, getMaxThreads, registerForward, start, stop
getName, setName
getApplicationContext, getName
getConfigurationClassLoader
setApplicationContext
getName
static final String LONG_DURATION_MONITORING_EVENT
static final String PIPE_EXCEPTION_MONITORING_EVENT
static final String MESSAGE_SIZE_MONITORING_EVENT
void setPipeLine(PipeLine pipeline)
void setGetInputFromSessionKey(String string)
String getGetInputFromSessionKey()
void setGetInputFromFixedValue(String string)
String getGetInputFromFixedValue()
void setEmptyInputReplacement(String string)
String getEmptyInputReplacement()
void setPreserveInput(boolean preserveInput)
true
, the result of the pipe is replaced with the original input (i.e. the input before configured replacements of getInputFromSessionKey
, getInputFromFixedValue
or emptyInputReplacement
)boolean isPreserveInput()
void setStoreResultInSessionKey(String string)
true
) is stored under this session keyString getStoreResultInSessionKey()
void setChompCharSize(String string)
String getChompCharSize()
void setElementToMove(String string)
elementToMoveSessionKey
+ }String getElementToMove()
void setElementToMoveSessionKey(String string)
elementToMove
is set) Name of the session key under which the character data is storedString getElementToMoveSessionKey()
void setElementToMoveChain(String string)
elementToMove
but element is preceded with all ancestor elements and separated by semicolons (e.g. 'adapter;pipeline;pipe')String getElementToMoveChain()
void setRemoveCompactMsgNamespaces(boolean b)
boolean isRemoveCompactMsgNamespaces()
void setRestoreMovedElements(boolean restoreMovedElements)
true
, compacted messages in the result are restored to their original format (see also setElementToMove(java.lang.String)
)boolean isRestoreMovedElements()
void setDurationThreshold(long maxDuration)
long getDurationThreshold()
void setLocker(Locker locker)
Locker getLocker()
void setWriteToSecLog(boolean b)
boolean isWriteToSecLog()
void setSecLogSessionKeys(String string)
writetoseclog=true
) Comma separated list of keys of session variables that is appended to the security log recordString getSecLogSessionKeys()
void registerEvent(String description)
void throwEvent(String event)
boolean hasSizeStatistics()
Copyright © 2023 Frank!Framework. All rights reserved.