| Modifier and Type | Method and Description |
|---|---|
static JmsSession |
JmsCommons.createJmsSession(JmsConnection jmsConnection,
InternalAckMode ackMode,
boolean isTopic,
JmsSessionManager jmsSessionManager,
org.mule.runtime.extension.api.tx.OperationTransactionalAction transactionalAction)
Utility method to create new
JmsSession from a given JmsConnection |
| Modifier and Type | Method and Description |
|---|---|
static void |
JmsCommons.evaluateMessageAck(InternalAckMode ackMode,
JmsSession session,
javax.jms.Message receivedMessage,
JmsSessionManager messageSessionManager,
JmsListenerLock jmsLock) |
static boolean |
JmsCommons.isPartOfCurrentTx(JmsSession session,
JmsConnection jmsConnection,
JmsSessionManager sessionManager)
Verifies if the given session is part of the current TX.
|
static void |
JmsCommons.releaseResources(JmsSession session,
boolean isPartOfCurrentTx,
AutoCloseable... closeables)
Releases all the resources that are required to close.
|
| Constructor and Description |
|---|
JmsPublisherCompletionListener(org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback,
JmsSession session,
JmsMessageProducer producer,
String destination,
String destinationType,
boolean isPartOfCurrentTx,
org.mule.runtime.api.scheduler.Scheduler scheduler) |
| Modifier and Type | Method and Description |
|---|---|
JmsSession |
JmsConnection.createSession(InternalAckMode ackMode,
boolean isTopic)
Creates a new JMS
Session using the current Connection |
JmsSession |
XaJmsTransactionalConnection.getSession(InternalAckMode ackMode,
boolean isTopic)
Provides access to the
JmsSession to be used. |
| Modifier and Type | Method and Description |
|---|---|
JmsMessageConsumer |
JmsConnection.createConsumer(JmsSession session,
javax.jms.Destination jmsDestination,
String selector,
ConsumerType consumerType)
Creates a new JMS
MessageConsumer using the given Session |
JmsMessageConsumer |
JmsConnection.createConsumer(JmsSession session,
javax.jms.Destination jmsDestination,
String selector,
ConsumerType consumerType,
boolean avoidCaching)
Creates a new JMS
MessageConsumer using the given Session |
JmsMessageProducer |
JmsConnection.createProducer(JmsSession session,
javax.jms.Destination jmsDestination,
boolean isTopic)
Creates a new JMS
MessageProducer using the given Session |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultJmsSession
Wrapper element for a JMS
Session that relates the
session with its AckID |
| Modifier and Type | Method and Description |
|---|---|
Optional<JmsSession> |
JmsSessionManager.getTransactedSession(JmsConnection connection) |
Optional<JmsSession> |
JmsSessionManager.getXaTransactedSession(org.mule.runtime.extension.api.connectivity.XATransactionalConnection jmsXaTransactionalConnection) |
| Modifier and Type | Method and Description |
|---|---|
void |
JmsSessionManager.bindToTransaction(JmsSession session)
Binds the given
JmsSession to the current Thread |
void |
JmsSessionManager.bindToTransaction(org.mule.runtime.extension.api.connectivity.XATransactionalConnection jmsXaTransactionalConnection,
JmsSession session,
JmsXaContext xaResource)
|
| Constructor and Description |
|---|
ResourceCloserCompletionListener(javax.jms.CompletionListener delegate,
JmsSession jmsSession,
JmsMessageProducer producer,
org.mule.runtime.api.scheduler.Scheduler scheduler) |
| Constructor and Description |
|---|
JmsMessageDispatcher(JmsConfig config,
String defaultContentType,
String defaultEncoding,
JmsSpecification specification,
Supplier<JmsSession> session,
InternalAckMode ackMode,
JmsSessionManager sessionManager,
org.mule.runtime.extension.api.runtime.source.SourceCallback sourceCallback,
JmsListenerLock jmsListenerLock,
JmsConnectionExceptionResolver exceptionResolver) |
| Modifier and Type | Method and Description |
|---|---|
JmsMessageConsumer |
MessageConsumerFactory.createConsumer(JmsSession session) |
| Modifier and Type | Method and Description |
|---|---|
JmsSession |
MessageListenerContext.getSession() |
| Modifier and Type | Method and Description |
|---|---|
JmsMessageListener |
JmsMessageListenerFactory.createMessageListener(JmsSession session,
JmsListenerLock jmsLock)
Creates a new
JmsMessageListener with a given JmsSession and JmsListenerLock to be able to
synchronize the message dispatch. |
Copyright © 2020. All rights reserved.