public class ApiStreamPipe extends StreamPipe
In StreamPipe
for parameter httpRequest
and attribute
extractFirstStringPart=true
the first part is returned to the pipeline.
In this class the first part is checked. If it contains a 'MessageID' with namespace "http://www.w3.org/2005/08/addressing",
then the message to return to the pipeline is retrieved from the MessageStore.
This class is created for applications which can not perform one multipart call with a business request in the first (string) part and one or more filestreams in the next (file) parts. Instead of one multipart call, two calls are performed:
ANTIVIRUS_FAILED_FORWARD
parameterNamesMustBeUnique
log
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
Constructor and Description |
---|
ApiStreamPipe() |
Modifier and Type | Method and Description |
---|---|
protected String |
adjustFirstStringPart(String firstStringPart,
PipeLineSession session) |
void |
configure()
checks for correct configuration of forward
|
String |
getJmsRealm() |
void |
setJmsRealm(String jmsRealm) |
doPipe, getAntiVirusFailureAsSoapFault, getAntiVirusFailureReasonSessionKey, getAntiVirusMessagePartName, getAntiVirusPartName, getAntiVirusPassedMessage, getMultipartXmlSessionKey, isCheckAntiVirus, isExtractFirstStringPart, setAntiVirusFailureAsSoapFault, setAntiVirusFailureReasonSessionKey, setAntiVirusMessagePartName, setAntiVirusPartName, setAntiVirusPassedMessage, setCheckAntiVirus, setExtractFirstStringPart, setMultipartXmlSessionKey
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
protected String adjustFirstStringPart(String firstStringPart, PipeLineSession session) throws PipeRunException
adjustFirstStringPart
in class StreamPipe
PipeRunException
public String getJmsRealm()
public void setJmsRealm(String jmsRealm)
Copyright © 2023 Frank!Framework. All rights reserved.