Class EsbJmsSender
java.lang.Object
org.frankframework.jndi.JndiBase
org.frankframework.jms.JMSFacade
org.frankframework.jms.JmsSender
org.frankframework.extensions.esb.EsbJmsSender
- All Implemented Interfaces:
FrankElement,HasApplicationContext,HasName,HasPhysicalDestination,IConfigurable,ICorrelatedSender,IScopeProvider,ISender,ISenderWithParameters,IWithParameters,IXAEnabled,NameAware,ConfigurableLifecycle,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
ESB (Enterprise Service Bus) extension of
JmsSender.
- Author:
- Peter Leeuwenburgh
-
Nested Class Summary
Nested classes/interfaces inherited from class org.frankframework.jms.JmsSender
JmsSender.LinkMethodNested classes/interfaces inherited from class org.frankframework.jms.JMSFacade
JMSFacade.AcknowledgeMode, JMSFacade.DeliveryMode, JMSFacade.JmsDestinationType, JMSFacade.MessageClass, JMSFacade.SubscriberType -
Field Summary
Fields inherited from class org.frankframework.jms.JMSFacade
JMS_MESSAGECLASS_KEY, log, messagingSourceFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidConfigures the sendervoidsetDeliveryMode(JMSFacade.DeliveryMode deliveryMode) if messageProtocol=RRthendeliveryModedefaults toNON_PERSISTENTvoidsetMessageProtocol(MessageProtocol protocol) protocol of ESB service to be calledvoidsetReplyTimeout(int replyTimeout) if messageProtocol=RRthenreplyTimeoutdefaults totimeoutvoidsetSoapAction(String soapAction) if messageProtocol=RRthen ifsoapActionis empty then it is derived from the element MessageHeader/To/Location in the SOAP header of the input message (if $messagingLayer='P2P' then '$applicationFunction' else '$operationName_$operationVersion)voidsetSynchronous(boolean synchronous) if messageProtocol=RRthensynchronousdefaults totruevoidsetTimeout(long l) receiver timeout, in millisecondsvoidsetTimeOut(long l) Deprecated.Methods inherited from class org.frankframework.jms.JmsSender
addParameter, createSession, getDestination, getParameterList, sendMessage, sendMessage, setDestinationParam, setEncodingStyleURI, setLinkMethod, setMessageType, setPriority, setReplySoapHeaderSessionKey, setReplyToName, setResponseHeadersToSessionKeys, setServiceNamespaceURI, setSoap, setSoapHeaderParam, start, toStringMethods inherited from class org.frankframework.jms.JMSFacade
checkTransactionManagerValidity, closeSession, createBytesMessage, createMessage, createMessage, createTextMessage, extractMessage, extractMessageBody, getConnectionFactoryName, getContext, getDestination, getDestination, getJmsMessagingSource, getLogPrefix, getMessageConsumer, getMessageConsumer, getMessageConsumerForCorrelationId, getMessageProducer, getMessagingSource, getPhysicalDestinationName, getPhysicalDestinationShortName, getPhysicalDestinationShortName, isRunning, isSessionsArePooled, logMessageDetails, send, send, send, send, send, sendByQueue, sendByTopic, setAcknowledgeMode, setAuthAlias, setCorrelationIdMaxLength, setCorrelationIdToHex, setCorrelationIdToHexPrefix, setDestinationName, setDestinationType, setJndiContextPrefix, setLookupDestination, setMessageClass, setMessageCorrelationID, setMessageSelector, setMessageTimeToLive, setName, setPersistent, setQueueConnectionFactoryName, setSubscriberType, setTopicConnectionFactoryName, setTransacted, stopMethods inherited from class org.frankframework.jndi.JndiBase
getContext, getJndiEnv, setAuthentication, setCredentials, setInitialContextFactoryName, setJmsRealm, setJndiAuthAlias, setJndiProperties, setPrincipal, setProviderURL, setSecurityProtocol, setUrlPkgPrefixesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContextMethods inherited from interface org.frankframework.lifecycle.ConfigurableLifecycle
getPhase, isAutoStartup, isConfiguredMethods inherited from interface org.frankframework.core.FrankElement
addConfigWarningMethods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoaderMethods inherited from interface org.frankframework.core.ISender
isSynchronous, sendMessageOrThrow, stopMethods inherited from interface org.frankframework.core.ISenderWithParameters
consumesSessionVariableMethods inherited from interface org.frankframework.core.IXAEnabled
isTransactedMethods inherited from interface org.springframework.context.SmartLifecycle
stop
-
Constructor Details
-
EsbJmsSender
public EsbJmsSender()
-
-
Method Details
-
configure
Description copied from class:JmsSenderConfigures the sender- Specified by:
configurein interfaceIConfigurable- Overrides:
configurein classJmsSender- Throws:
ConfigurationException- in case it was not able to configure the component.
-
setMessageProtocol
protocol of ESB service to be called -
setTimeout
public void setTimeout(long l) receiver timeout, in milliseconds- Default value
- 20000 (20s)
-
setTimeOut
@Deprecated(since="8.1") @ConfigurationWarning("Use attribute timeout instead") public void setTimeOut(long l) Deprecated.usesetTimeout(long)instead.receiver timeout, in milliseconds.- Default value
- 20000 (20s)
-
setDeliveryMode
if messageProtocol=RRthendeliveryModedefaults toNON_PERSISTENT- Overrides:
setDeliveryModein classJmsSender
-
setReplyTimeout
public void setReplyTimeout(int replyTimeout) if messageProtocol=RRthenreplyTimeoutdefaults totimeout- Overrides:
setReplyTimeoutin classJmsSender
-
setSynchronous
public void setSynchronous(boolean synchronous) if messageProtocol=RRthensynchronousdefaults totrue- Overrides:
setSynchronousin classJmsSender
-
setSoapAction
if messageProtocol=RRthen ifsoapActionis empty then it is derived from the element MessageHeader/To/Location in the SOAP header of the input message (if $messagingLayer='P2P' then '$applicationFunction' else '$operationName_$operationVersion)- Overrides:
setSoapActionin classJmsSender
-
setTimeout(long)instead.