@ElementType(value=SESSION) public class RemoveCacheKeyPipe extends FixedForwardPipe
parameterNamesMustBeUnique
log
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
Constructor and Description |
---|
RemoveCacheKeyPipe() |
Modifier and Type | Method and Description |
---|---|
void |
configure()
checks for correct configuration of forward
|
PipeRunResult |
doPipe(Message message,
PipeLineSession session)
This is where the action takes place.
|
String |
getCacheName() |
String |
getKeyInputSessionKey() |
String |
getKeyNamespaceDefs() |
String |
getKeyStyleSheet() |
String |
getKeyXPath() |
TransformerPool.OutputType |
getKeyXPathOutputType() |
void |
setCacheName(String cacheName)
Name of the cache from which items are to be removed
|
void |
setKeyInputSessionKey(String keyInputSessionKey)
Session key to use as input for transformation of request message to key by keyXPath or keyStyleSheet
|
void |
setKeyNamespaceDefs(String keyNamespaceDefs)
Namespace defintions for keyXPath.
|
void |
setKeyStyleSheet(String keyStyleSheet)
Stylesheet to extract cache key from request message.
|
void |
setKeyXPath(String keyXPath)
XPath expression to extract cache key from request message
|
void |
setKeyXPathOutputType(TransformerPool.OutputType keyXPathOutputType)
Output type of xpath expression to extract cache key from request message, must be 'xml' or 'text'
|
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, 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
FixedForwardPipe
configure
in interface IConfigurable
configure
in interface IPipe
configure
in class FixedForwardPipe
ConfigurationException
public PipeRunResult doPipe(Message message, PipeLineSession session) throws PipeRunException
AbstractPipe
doPipe
in interface IPipe
doPipe
in class AbstractPipe
PipeRunException
public void setCacheName(String cacheName)
public String getCacheName()
public void setKeyXPath(String keyXPath)
public String getKeyXPath()
public void setKeyXPathOutputType(TransformerPool.OutputType keyXPathOutputType)
public TransformerPool.OutputType getKeyXPathOutputType()
public void setKeyNamespaceDefs(String keyNamespaceDefs)
prefix=namespaceuri
-definitionspublic String getKeyNamespaceDefs()
public void setKeyStyleSheet(String keyStyleSheet)
cacheEmptyKeys
to inhibit caching for certain groups of request messagespublic String getKeyStyleSheet()
public void setKeyInputSessionKey(String keyInputSessionKey)
public String getKeyInputSessionKey()
Copyright © 2023 Frank!Framework. All rights reserved.