public interface JMSContext
Modifier and Type | Method and Description |
---|---|
javax.jms.Session |
createClientSession(ConnectionImpl connection,
boolean transacted)
Creates the session.
|
javax.jms.Session |
createClientSession(ConnectionImpl connection,
boolean transacted,
int acknowledgeMode)
Creates the session.
|
javax.jms.Connection |
createConnection() |
javax.jms.Destination |
getConfiguredDestination(String destinationName,
javax.jms.Session session,
MessagingMode messagingMode)
Getter method to achieve a specified in config of the JMS Destination.
|
javax.jms.Connection createConnection() throws javax.jms.JMSException
javax.jms.JMSException
javax.jms.Destination getConfiguredDestination(String destinationName, javax.jms.Session session, MessagingMode messagingMode) throws javax.jms.JMSException
destinationName
- session
- messagingMode
- javax.jms.JMSException
javax.jms.Session createClientSession(ConnectionImpl connection, boolean transacted) throws javax.jms.JMSException
connection
- the connectionjavax.jms.JMSException
javax.jms.Session createClientSession(ConnectionImpl connection, boolean transacted, int acknowledgeMode) throws javax.jms.JMSException
connection
- the connectiontransacted
- the flagacknowledgeMode
- thejavax.jms.JMSException
Copyright © 2000–2022 EPAM Systems. All rights reserved.