Class IMSSender
java.lang.Object
org.frankframework.jndi.JndiBase
org.frankframework.jms.JMSFacade
org.frankframework.jms.JmsSender
org.frankframework.extensions.ibm.MQSender
org.frankframework.extensions.ibm.IMSSender
- 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
-
Nested Class Summary
Nested classes/interfaces inherited from class JmsSender
JmsSender.LinkMethodNested classes/interfaces inherited from class JMSFacade
JMSFacade.AcknowledgeMode, JMSFacade.DeliveryMode, JMSFacade.JmsDestinationType, JMSFacade.MessageClass, JMSFacade.SubscriberType -
Field Summary
Fields inherited from class JMSFacade
JMS_MESSAGECLASS_KEY, log, messagingSourceFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidConfigures the sender@NonNull jakarta.jms.MessagecreateMessage(jakarta.jms.Session session, String correlationID, Message message, JMSFacade.MessageClass messageClass) extractMessage(jakarta.jms.Message rawMessage, Map<String, Object> context, boolean soap, String soapHeaderSessionKey, SoapWrapper soapWrapper) Extracts string from message obtained from getRawMessage(Map).voidsetTransactionCode(String transactionCode) The transaction code that should be added in the header, must be 8 charactersMethods inherited from class MQSender
getMessageProducer, send, sendByQueue, sendByTopicMethods inherited from class JmsSender
addParameter, createSession, getDestination, getParameterList, sendMessage, sendMessage, setDeliveryMode, setDestinationParam, setEncodingStyleURI, setLinkMethod, setMessageType, setPriority, setReplySoapHeaderSessionKey, setReplyTimeout, setReplyToName, setResponseHeadersToSessionKeys, setServiceNamespaceURI, setSoap, setSoapAction, setSoapHeaderParam, setSynchronous, start, toStringMethods inherited from class JMSFacade
checkTransactionManagerValidity, closeSession, createBytesMessage, createMessage, createTextMessage, extractMessageBody, getConnectionFactoryName, getContext, getDestination, getDestination, getJmsMessagingSource, getLogPrefix, getMessageConsumer, getMessageConsumer, getMessageConsumerForCorrelationId, getMessagingSource, getPhysicalDestinationName, getPhysicalDestinationShortName, getPhysicalDestinationShortName, isRunning, isSessionsArePooled, logMessageDetails, send, send, send, send, setAcknowledgeMode, setAuthAlias, setCorrelationIdMaxLength, setCorrelationIdToHex, setCorrelationIdToHexPrefix, setDestinationName, setDestinationType, setJndiContextPrefix, setLookupDestination, setMessageClass, setMessageCorrelationID, setMessageSelector, setMessageTimeToLive, setName, setPersistent, setQueueConnectionFactoryName, setSubscriberType, setTopicConnectionFactoryName, setTransacted, stopMethods inherited from class JndiBase
getContext, getJndiEnv, setAuthentication, setCredentials, setInitialContextFactoryName, setJmsRealm, setJndiAuthAlias, setJndiProperties, setPrincipal, setProviderURL, setSecurityProtocol, setUrlPkgPrefixesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContextMethods inherited from interface ConfigurableLifecycle
getPhase, isAutoStartup, isConfiguredMethods inherited from interface FrankElement
addConfigWarningMethods inherited from interface HasApplicationContext
getApplicationContext, getConfigurationClassLoaderMethods inherited from interface ISender
isSynchronous, sendMessageOrThrow, stopMethods inherited from interface ISenderWithParameters
consumesSessionVariableMethods inherited from interface IXAEnabled
isTransactedMethods inherited from interface org.springframework.context.SmartLifecycle
isPauseable, stop
-
Constructor Details
-
IMSSender
public IMSSender()
-
-
Method Details
-
setTransactionCode
The transaction code that should be added in the header, must be 8 characters -
getTransactionCode
-
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.
-
createMessage
public @NonNull jakarta.jms.Message createMessage(jakarta.jms.Session session, String correlationID, Message message, JMSFacade.MessageClass messageClass) throws jakarta.jms.JMSException - Overrides:
createMessagein classJMSFacade- Throws:
jakarta.jms.JMSException
-
extractMessage
public Message extractMessage(jakarta.jms.Message rawMessage, Map<String, Object> context, boolean soap, String soapHeaderSessionKey, SoapWrapper soapWrapper) throws jakarta.jms.JMSException, IOExceptionDescription copied from class:JMSFacadeExtracts string from message obtained from getRawMessage(Map). May also extract other parameters from the message and put those in the threadContext.
Supports onlyTextMessages andBytesMessage.- Overrides:
extractMessagein classJMSFacade- Throws:
jakarta.jms.JMSExceptionIOException
-