Class SendTibcoMessage
java.lang.Object
org.frankframework.core.TransactionAttributes
org.frankframework.pipes.AbstractPipe
org.frankframework.pipes.FixedForwardPipe
org.frankframework.pipes.TimeoutGuardPipe
org.frankframework.extensions.tibco.SendTibcoMessage
- All Implemented Interfaces:
FrankElement,HasApplicationContext,HasName,HasTransactionAttribute,IConfigurable,IForwardTarget,IPipe,IScopeProvider,IWithParameters,NameAware,EventThrowing,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.Lifecycle
Sends a message to a Tibco queue.
- Author:
- Peter Leeuwenburgh
- Specific parameters
- url When a parameter with name url is present, it is used instead of the url specified by the attribute, authAlias When a parameter with name authAlias is present, it is used instead of the authAlias specified by the attribute, username When a parameter with name userName is present, it is used instead of the userName specified by the attribute, password When a parameter with name password is present, it is used instead of the password specified by the attribute, queueName When a parameter with name queueName is present, it is used instead of the queueName specified by the attribute, messageProtocol When a parameter with name messageProtocol is present, it is used instead of the messageProtocol specified by the attribute, replyTimeout When a parameter with name replyTimeout is present, it is used instead of the replyTimeout specified by the attribute, When a parameter with name soapAction is present, it is used instead of the soapAction specified by the attribute
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.frankframework.pipes.AbstractPipe
parameterNamesMustBeUniqueFields inherited from class org.frankframework.core.TransactionAttributes
logFields inherited from interface org.frankframework.core.IPipe
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks for correct configuration of forward.doPipeWithTimeoutGuarded(Message input, PipeLineSession session) doPipe wrapped around a TimeoutGuardintgetUrl()voidsetAuthAlias(String string) alias used to obtain credentials for authentication to hostvoidsetEmsPropertiesFile(String propertyFile) Location to ajndi.propertiesfile for additional EMS (SSL) propertiesvoidProtocol of Tibco service to be calledvoidsetPassword(String string) password used in authentication to hostvoidsetQueueName(String string) The name of the queue which is used for browsing one queuevoidsetReplyTimeout(int i) Maximum time in milliseconds to wait for a reply. 0 means no timeout.voidsetSoapAction(String string) If empty then derived from queueName (if $messagingLayer='P2P' then '$applicationFunction' else '$operationName_$operationVersion)voidURL or base of URL to be used.voidsetUsername(String string) username used in authentication to hostMethods inherited from class org.frankframework.pipes.TimeoutGuardPipe
doPipe, getTimeout, isThrowException, killPipe, setThrowException, setTimeoutMethods inherited from class org.frankframework.pipes.FixedForwardPipe
getParameterValue, setIfParam, setIfValue, setOnlyIfSessionKey, setOnlyIfValue, setSkipOnEmptyInput, setUnlessSessionKey, setUnlessValue, skipPipeMethods inherited from class org.frankframework.pipes.AbstractPipe
addForward, addParameter, consumesSessionVariable, createBean, findForward, getAdapter, getEventSourceName, getForwards, getParameterList, hasRegisteredForward, isRunning, registerEvent, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, sizeStatisticsEnabled, start, stop, throwEventMethods inherited from class org.frankframework.core.TransactionAttributes
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.frankframework.core.FrankElement
addConfigWarningMethods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoaderMethods inherited from interface org.frankframework.core.HasTransactionAttribute
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttributeMethods inherited from interface org.frankframework.core.IForwardTarget
getNameMethods inherited from interface org.frankframework.core.IPipe
getChompCharSize, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getGetInputFromFixedValue, getGetInputFromSessionKey, getHideRegex, getLocker, getLogIntermediaryResults, getMaxThreads, getSecLogSessionKeys, getStoreResultInSessionKey, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, setPipeLine, throwEvent
-
Constructor Details
-
SendTibcoMessage
public SendTibcoMessage()
-
-
Method Details
-
configure
Description copied from class:FixedForwardPipeChecks for correct configuration of forward.- Specified by:
configurein interfaceIConfigurable- Overrides:
configurein classFixedForwardPipe- Throws:
ConfigurationException- in case it was not able to configure the component.
-
doPipeWithTimeoutGuarded
public PipeRunResult doPipeWithTimeoutGuarded(Message input, PipeLineSession session) throws PipeRunException Description copied from class:TimeoutGuardPipedoPipe wrapped around a TimeoutGuard- Specified by:
doPipeWithTimeoutGuardedin classTimeoutGuardPipe- Throws:
PipeRunException
-
getUrl
-
setUrl
URL or base of URL to be used. When multiple URLs are defined (comma separated list), the first URL is used of which the server has an active state -
getAuthAlias
-
setAuthAlias
alias used to obtain credentials for authentication to host -
getUsername
-
setUsername
username used in authentication to host -
getPassword
-
setPassword
password used in authentication to host -
getQueueName
-
setQueueName
The name of the queue which is used for browsing one queue -
getMessageProtocol
-
setMessageProtocol
Protocol of Tibco service to be called -
getReplyTimeout
public int getReplyTimeout() -
setReplyTimeout
public void setReplyTimeout(int i) Maximum time in milliseconds to wait for a reply. 0 means no timeout. (Only for messageProtocol=RR)- Default value
- 5000
-
setSoapAction
If empty then derived from queueName (if $messagingLayer='P2P' then '$applicationFunction' else '$operationName_$operationVersion) -
getSoapAction
-
setEmsPropertiesFile
Location to ajndi.propertiesfile for additional EMS (SSL) properties
-