@Category(value="Basic") @ElementType(value=ROUTER) public class CompareStringPipe extends AbstractPipe
<ignores>
<ignore>
<after>...</after>
<before>...</before>
</ignore>
<ignore>
<after>...</after>
<before>...</before>
</ignore>
</ignores>
parameterNamesMustBeUnique
log
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
Constructor and Description |
---|
CompareStringPipe() |
Modifier and Type | Method and Description |
---|---|
void |
configure()
|
boolean |
consumesSessionVariable(String sessionKey)
returns
true if the pipe or one of its children use the named session variable. |
PipeRunResult |
doPipe(Message message,
PipeLineSession session)
This is where the action takes place.
|
String |
getSessionKey1() |
String |
getSessionKey2() |
boolean |
isXml() |
void |
setSessionKey1(String string)
Deprecated.
|
void |
setSessionKey2(String string)
Deprecated.
|
void |
setXml(boolean b)
when set
true the string values to compare are considered to be xml strings and before the actual compare both xml strings are transformed to a canonical form |
addParameter, 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, start, stop, throwEvent
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChompCharSize, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getGetInputFromFixedValue, getGetInputFromSessionKey, getLocker, getSecLogSessionKeys, getStoreResultInSessionKey, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, setPipeLine
getMaxThreads
getName
getApplicationContext, getName
getConfigurationClassLoader
getName
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttribute
public void configure() throws ConfigurationException
AbstractPipe
configure()
is called after the Pipeline
is registered
at the Adapter
. Purpose of this method is to reduce
creating connections to databases etc. in the doPipe()
method.
As much as possible class-instantiating should take place in the
configure()
method, to improve performance.configure
in interface IConfigurable
configure
in interface IPipe
configure
in class AbstractPipe
ConfigurationException
public PipeRunResult doPipe(Message message, PipeLineSession session) throws PipeRunException
AbstractPipe
doPipe
in interface IPipe
doPipe
in class AbstractPipe
PipeRunException
public boolean consumesSessionVariable(String sessionKey)
IPipe
true
if the pipe or one of its children use the named session variable.
Callers can use this to determine if a message needs to be preserved.consumesSessionVariable
in interface IPipe
consumesSessionVariable
in class AbstractPipe
@Deprecated @ConfigurationWarning(value="Please use the parameter operand1") public void setSessionKey1(String string)
public String getSessionKey1()
@Deprecated @ConfigurationWarning(value="Please use the parameter operand2") public void setSessionKey2(String string)
public String getSessionKey2()
public boolean isXml()
public void setXml(boolean b)
true
the string values to compare are considered to be xml strings and before the actual compare both xml strings are transformed to a canonical formCopyright © 2023 Frank!Framework. All rights reserved.