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
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.context.Lifecycle
ESB (Enterprise Service Bus) extension of @{codeJmsSender}.
- Author:
- Peter Leeuwenburgh
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.frankframework.jms.JmsSender
JmsSender.LinkMethod
Nested classes/interfaces inherited from class org.frankframework.jms.JMSFacade
JMSFacade.AcknowledgeMode, JMSFacade.DeliveryMode, JMSFacade.DestinationType, JMSFacade.MessageClass, JMSFacade.SubscriberType
-
Field Summary
Fields inherited from class org.frankframework.jms.JMSFacade
JMS_MESSAGECLASS_KEY, messagingSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Configures the sendervoid
setDeliveryMode
(JMSFacade.DeliveryMode deliveryMode) if messageProtocol=RR
thendeliveryMode
defaults toNON_PERSISTENT
void
protocol of ESB service to be calledvoid
setReplyTimeout
(int replyTimeout) if messageProtocol=RR
thenreplyTimeout
defaults totimeout
void
setSoapAction
(String soapAction) if messageProtocol=RR
then ifsoapAction
is 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)void
setSynchronous
(boolean synchronous) if messageProtocol=RR
thensynchronous
defaults totrue
void
setTimeout
(long l) receiver timeout, in millisecondsvoid
setTimeOut
(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, toString
Methods 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, getMessagingSourceFactory, getPhysicalDestinationName, getPhysicalDestinationShortName, getPhysicalDestinationShortName, isRunning, isSessionsArePooled, logMessageDetails, send, send, send, send, send, send, send, sendByQueue, sendByTopic, setAcknowledgeMode, setAuthAlias, setCorrelationIdMaxLength, setCorrelationIdToHex, setCorrelationIdToHexPrefix, setDestinationName, setDestinationType, setLookupDestination, setMessageClass, setMessageCorrelationID, setMessageSelector, setMessageTimeToLive, setPersistent, setQueueConnectionFactoryName, setSubscriberType, setTopicConnectionFactoryName, setTransacted, stop
Methods inherited from class org.frankframework.jndi.JndiBase
getContext, getJndiEnv, setAuthentication, setCredentials, setInitialContextFactoryName, setJmsRealm, setJndiAuthAlias, setJndiContextPrefix, setJndiProperties, setName, setPrincipal, setProviderURL, setSecurityProtocol, setUrlPkgPrefixes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
Methods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoader
Methods inherited from interface org.frankframework.core.HasPhysicalDestination
getDomain
Methods inherited from interface org.frankframework.core.ISender
isSynchronous, sendMessageOrThrow, stop
Methods inherited from interface org.frankframework.core.ISenderWithParameters
consumesSessionVariable
Methods inherited from interface org.frankframework.core.IXAEnabled
isTransacted
-
Constructor Details
-
EsbJmsSender
public EsbJmsSender()
-
-
Method Details
-
configure
Description copied from class:JmsSender
Configures the sender- Specified by:
configure
in interfaceIConfigurable
- Overrides:
configure
in 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=RR
thendeliveryMode
defaults toNON_PERSISTENT
- Overrides:
setDeliveryMode
in classJmsSender
-
setReplyTimeout
public void setReplyTimeout(int replyTimeout) if messageProtocol=RR
thenreplyTimeout
defaults totimeout
- Overrides:
setReplyTimeout
in classJmsSender
-
setSynchronous
public void setSynchronous(boolean synchronous) if messageProtocol=RR
thensynchronous
defaults totrue
- Overrides:
setSynchronous
in classJmsSender
-
setSoapAction
if messageProtocol=RR
then ifsoapAction
is 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:
setSoapAction
in classJmsSender
-
setTimeout(long)
instead.