@Deprecated @ConfigurationWarning(value="Please replace with XmlSwitch with an xpathExpression or serviceSelectionStylesheetFilename") public class FilenameSwitch extends AbstractPipe
Exits:
state | condition |
---|---|
<filenname part of the path> | default |
parameterNamesMustBeUnique
log
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
Constructor and Description |
---|
FilenameSwitch()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
configure()
Deprecated.
|
PipeRunResult |
doPipe(Message message,
PipeLineSession session)
Deprecated.
This is where the action takes place.
|
String |
getNotFoundForwardName()
Deprecated.
|
boolean |
isToLowercase()
Deprecated.
|
void |
setNotFoundForwardName(String notFound)
Deprecated.
forward returned when the forward or pipename derived from the filename that was the input could not be found.
|
void |
setToLowercase(boolean b)
Deprecated.
convert the result to lowercase, before searching for a corresponding forward
|
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, 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 void setNotFoundForwardName(String notFound)
public String getNotFoundForwardName()
public void setToLowercase(boolean b)
public boolean isToLowercase()
Copyright © 2023 Frank!Framework. All rights reserved.