Modifier and Type | Method and Description |
---|---|
ClientSession |
ClientSessionFactory.createSession()
Creates a non-transacted session.
|
ClientSession |
ClientSessionFactory.createSession(boolean autoCommitSends,
boolean autoCommitAcks)
Creates a session.
|
ClientSession |
ClientSessionFactory.createSession(boolean xa,
boolean autoCommitSends,
boolean autoCommitAcks)
Creates a session.
|
ClientSession |
ClientSessionFactory.createSession(boolean xa,
boolean autoCommitSends,
boolean autoCommitAcks,
boolean preAcknowledge)
Creates a session.
|
ClientSession |
ClientSessionFactory.createSession(boolean autoCommitSends,
boolean autoCommitAcks,
int ackBatchSize)
Creates a session.
|
ClientSession |
ClientSessionFactory.createSession(String username,
String password,
boolean xa,
boolean autoCommitSends,
boolean autoCommitAcks,
boolean preAcknowledge,
int ackBatchSize)
Creates an authenticated session.
|
ClientSession |
ClientSessionFactory.createTransactedSession()
Creates a transacted session.
|
ClientSession |
ClientSessionFactory.createXASession()
Creates a session with XA transaction semantics.
|
ClientSession |
ClientSession.setSendAcknowledgementHandler(SendAcknowledgementHandler handler)
Sets a
SendAcknowledgementHandler for this session. |
ClientSession |
ClientSession.start()
Starts the session.
|
Constructor and Description |
---|
ClientRequestor(ClientSession session,
SimpleString requestAddress)
Constructor for the ClientRequestor.
|
ClientRequestor(ClientSession session,
String requestAddress) |
Modifier and Type | Method and Description |
---|---|
void |
XmlDataImporter.process(InputStream inputStream,
ClientSession session)
This is the normal constructor for programmatic access to the
org.apache.activemq.artemis.core.persistence.impl.journal.XmlDataImporter if the session passed
in uses auto-commit for sends. |
void |
XmlDataImporter.process(InputStream inputStream,
ClientSession session,
ClientSession managementSession)
This is the constructor to use if you wish to import all messages transactionally.
|
Constructor and Description |
---|
XMLMessageImporter(XMLStreamReader xmlStreamReader,
ClientSession session) |
Modifier and Type | Interface and Description |
---|---|
interface |
ClientSessionInternal |
Modifier and Type | Class and Description |
---|---|
class |
ClientSessionImpl |
Modifier and Type | Method and Description |
---|---|
ClientSession |
ClientSessionFactoryImpl.createSession() |
ClientSession |
ClientSessionFactoryImpl.createSession(boolean autoCommitSends,
boolean autoCommitAcks) |
ClientSession |
ClientSessionFactoryImpl.createSession(boolean xa,
boolean autoCommitSends,
boolean autoCommitAcks) |
ClientSession |
ClientSessionFactoryImpl.createSession(boolean xa,
boolean autoCommitSends,
boolean autoCommitAcks,
boolean preAcknowledge) |
ClientSession |
ClientSessionFactoryImpl.createSession(boolean autoCommitSends,
boolean autoCommitAcks,
int ackBatchSize) |
ClientSession |
ClientSessionFactoryImpl.createSession(String username,
String password,
boolean xa,
boolean autoCommitSends,
boolean autoCommitAcks,
boolean preAcknowledge,
int ackBatchSize) |
ClientSession |
ClientSessionFactoryImpl.createTransactedSession() |
ClientSession |
ClientSessionFactoryImpl.createXASession() |
Modifier and Type | Method and Description |
---|---|
long |
ScaleDownHandler.scaleDownRegularMessages(SimpleString address,
Set<Queue> queues,
ClientSession clientSession,
ClientProducer producer) |
Modifier and Type | Method and Description |
---|---|
ClientSession |
ActiveMQSession.getCoreSession() |
ClientSession |
ActiveMQConnection.getInitialSession() |
Modifier and Type | Method and Description |
---|---|
protected ActiveMQSession |
ActiveMQConnection.createAMQSession(boolean isXA,
boolean transacted,
int acknowledgeMode,
ClientSession session,
int type) |
static ActiveMQMessage |
ActiveMQMessage.createMessage(ClientMessage message,
ClientSession session) |
static ActiveMQMessage |
ActiveMQMessage.createMessage(ClientMessage message,
ClientSession session,
ConnectionFactoryOptions options) |
Constructor and Description |
---|
ActiveMQBytesMessage(BytesMessage foreign,
ClientSession session)
Foreign message constructor
|
ActiveMQBytesMessage(ClientMessage message,
ClientSession session)
Constructor on receipt at client side
|
ActiveMQBytesMessage(ClientSession session)
This constructor is used to construct messages prior to sending
|
ActiveMQMapMessage(ClientMessage message,
ClientSession session) |
ActiveMQMapMessage(ClientSession session) |
ActiveMQMapMessage(MapMessage foreign,
ClientSession session)
Constructor for a foreign MapMessage
|
ActiveMQMessage(byte type,
ClientSession session) |
ActiveMQMessage(ClientMessage message,
ClientSession session)
Constructor for when receiving a message from the server
|
ActiveMQMessage(ClientSession session) |
ActiveMQMessage(Message foreign,
byte type,
ClientSession session) |
ActiveMQMessage(Message foreign,
ClientSession session) |
ActiveMQMessageProducer(ActiveMQConnection connection,
ClientProducer producer,
ActiveMQDestination defaultDestination,
ClientSession clientSession,
ConnectionFactoryOptions options) |
ActiveMQObjectMessage(ClientMessage message,
ClientSession session,
ConnectionFactoryOptions options) |
ActiveMQObjectMessage(ClientSession session,
ConnectionFactoryOptions options) |
ActiveMQObjectMessage(ObjectMessage foreign,
ClientSession session,
ConnectionFactoryOptions options)
A copy constructor for foreign JMS ObjectMessages.
|
ActiveMQQueueBrowser(ConnectionFactoryOptions options,
ActiveMQQueue queue,
String messageSelector,
ClientSession session,
boolean enable1xPrefixes) |
ActiveMQSession(ConnectionFactoryOptions options,
ActiveMQConnection connection,
boolean transacted,
boolean xa,
int ackMode,
boolean cacheDestination,
boolean enable1xPrefixes,
ClientSession session,
int sessionType) |
ActiveMQStreamMessage(ClientMessage message,
ClientSession session) |
ActiveMQStreamMessage(ClientSession session) |
ActiveMQStreamMessage(StreamMessage foreign,
ClientSession session) |
ActiveMQTextMessage(ClientMessage message,
ClientSession session) |
ActiveMQTextMessage(ClientSession session) |
ActiveMQTextMessage(TextMessage foreign,
ClientSession session)
A copy constructor for non-ActiveMQ Artemis JMS TextMessages.
|
ActiveMQXASession(ConnectionFactoryOptions options,
ActiveMQConnection connection,
boolean transacted,
boolean xa,
int ackMode,
boolean cacheDestinations,
boolean enable1xNaming,
ClientSession session,
int sessionType) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.