@Category(value="NN-Special") public class EsbJmsTransactionalStorage<S extends Serializable> extends JmsTransactionalStorage<S>
Depending on the type
of the TransactionalStorage
one of the following messages is sent:
errorStore
:
ESB.Infrastructure.US.Log.BusinessLog.2.ExceptionLog.1.ActionmessageLog
:
ESB.Infrastructure.US.Log.BusinessLog.2.AuditLog.1.ActionConfiguration (where deviating from JmsTransactionalStorage):
attributes | description | default |
---|
JMSFacade.AcknowledgeMode, JMSFacade.DeliveryMode, JMSFacade.DestinationType, JMSFacade.SubscriberType
IMessageBrowser.HideMethod, IMessageBrowser.SortOrder, IMessageBrowser.StorageType
FIELD_COMMENTS, FIELD_HOST, FIELD_LABEL, FIELD_ORIGINAL_ID, FIELD_RECEIVED_DATE, FIELD_SLOTID, FIELD_TYPE
messagingSource
MAXCOMMENTLEN
Constructor and Description |
---|
EsbJmsTransactionalStorage() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Releases references to serviceQueue and connection.
|
void |
configure() |
int |
getMessageCount() |
void |
open()
Obtains a connection and a serviceQueue.
|
String |
storeMessage(String messageId,
String correlationId,
Date receivedDate,
String comments,
String label,
S message)
Store the message, returns storageKey.
|
browseMessage, containsMessageId, getMessage, getSelector, getSlotId, getType, setSlotId, setType
browseJmsMessage, containsCorrelationId, deleteMessage, doBrowse, doBrowse, getCombinedSelector, getCombinedSelector, getContext, getIterator, getIterator, getJmsMessage, setTimeOut
checkTransactionManagerValidity, closeSession, createMessage, createSession, extractMessage, extractMessageBody, getAcknowledgeModeEnum, getConnectionFactoryInfo, getConnectionFactoryName, getContext, getDestination, getDestination, getJmsMessagingSource, getLogPrefix, getManagedConnectionFactory, getMessageConsumer, getMessageConsumer, getMessageConsumerForCorrelationId, getMessageProducer, getMessagingSource, getMessagingSourceFactory, getPhysicalDestinationName, getPhysicalDestinationShortName, getPhysicalDestinationShortName, isSessionsArePooled, send, send, send, send, send, send, send, sendByQueue, sendByTopic, setAckMode, setAcknowledgeMode, setAuthAlias, setCorrelationIdMaxLength, setCorrelationIdToHex, setCorrelationIdToHexPrefix, setDestinationName, setDestinationType, setJmsTransacted, setLookupDestination, setMessageCorrelationID, setMessageSelector, setMessageTimeToLive, setPersistent, setQueueConnectionFactoryName, setSubscriberType, setTopicConnectionFactoryName, setTransacted, toString, useJms102
getContext, getJndiEnv, setAuthentication, setCredentials, setInitialContextFactoryName, setJmsRealm, setJndiAuthAlias, setJndiContextPrefix, setJndiProperties, setName, setPrincipal, setProviderURL, setSecurityProtocol, setUrlPkgPrefixes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
containsCorrelationId, deleteMessage, getContext, getHideMethod, getHideRegex, getIterator, getIterator, setHideMethod, setHideRegex
isTransacted
getName, setName
getDomain
getApplicationContext, getName
getConfigurationClassLoader
public void configure() throws ConfigurationException
configure
in interface IConfigurable
configure
in interface ITransactionalStorage<S extends Serializable>
configure
in class JndiBase
ConfigurationException
public void open() throws ListenerException
JMSFacade
open
in interface ITransactionalStorage<S extends Serializable>
open
in class JMSFacade
ListenerException
public void close()
JMSFacade
close
in interface ITransactionalStorage<S extends Serializable>
close
in class JMSFacade
public String storeMessage(String messageId, String correlationId, Date receivedDate, String comments, String label, S message) throws SenderException
ITransactionalStorage
storeMessage
in interface ITransactionalStorage<S extends Serializable>
storeMessage
in class JmsTransactionalStorage<S extends Serializable>
SenderException
public int getMessageCount() throws ListenerException
getMessageCount
in interface IMessageBrowser<S extends Serializable>
getMessageCount
in class JmsMessageBrowser<S extends Serializable,javax.jms.ObjectMessage>
ListenerException
Copyright © 2023 Frank!Framework. All rights reserved.