## Uses of Interface
org.apache.activemq.artemis.api.core.client.ClientSession

- Packages that use ClientSession
  Package | Description
  --- | ---
  org.apache.activemq.artemis.api.core.client |
  org.apache.activemq.artemis.api.core.management |
  org.apache.activemq.artemis.jms.client |
  org.apache.activemq.artemis.jms.client.compatible1X |

- - ### Uses of ClientSession in org.apache.activemq.artemis.api.core.client

    Methods in org.apache.activemq.artemis.api.core.client that return ClientSession
    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.`createSession(String username, String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int ackBatchSize, String clientID)` 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.

    Constructors in org.apache.activemq.artemis.api.core.client with parameters of type ClientSession
    Constructor and Description
    `ClientRequestor(ClientSession session, SimpleString requestAddress)` Constructor for the ClientRequestor.
    `ClientRequestor(ClientSession session, String requestAddress)`

  - ### Uses of ClientSession in org.apache.activemq.artemis.api.core.management

    Constructors in org.apache.activemq.artemis.api.core.management with parameters of type ClientSession
    Constructor and Description
    `ActiveMQManagementProxy(ClientSession session)`

  - ### Uses of ClientSession in org.apache.activemq.artemis.jms.client

    Methods in org.apache.activemq.artemis.jms.client that return ClientSession
    Modifier and Type | Method and Description
    --- | ---
    `ClientSession` | ActiveMQSession.`getCoreSession()`
    `ClientSession` | ActiveMQConnection.`getInitialSession()`

    Methods in org.apache.activemq.artemis.jms.client with parameters of type ClientSession
    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)`

    Constructors in org.apache.activemq.artemis.jms.client with parameters of type ClientSession
    Constructor and Description
    `ActiveMQBytesMessage(javax.jms.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(javax.jms.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(javax.jms.Message foreign, byte type, ClientSession session)`
    `ActiveMQMessage(javax.jms.Message foreign, ClientSession session)`
    `ActiveMQObjectMessage(ClientMessage message, ClientSession session, ConnectionFactoryOptions options)`
    `ActiveMQObjectMessage(ClientSession session, ConnectionFactoryOptions options)`
    `ActiveMQObjectMessage(javax.jms.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(javax.jms.StreamMessage foreign, ClientSession session)`
    `ActiveMQTextMessage(ClientMessage message, ClientSession session)`
    `ActiveMQTextMessage(ClientSession session)`
    `ActiveMQTextMessage(javax.jms.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)`

  - ### Uses of ClientSession in org.apache.activemq.artemis.jms.client.compatible1X

    Methods in org.apache.activemq.artemis.jms.client.compatible1X with parameters of type ClientSession
    Modifier and Type | Method and Description
    --- | ---
    `static ActiveMQMessage` | ActiveMQCompatibleMessage.`createMessage(ClientMessage message, ClientSession session, ConnectionFactoryOptions options)`

    Constructors in org.apache.activemq.artemis.jms.client.compatible1X with parameters of type ClientSession
    Constructor and Description
    `ActiveMQBytesCompatibleMessage(javax.jms.BytesMessage foreign, ClientSession session)`
    `ActiveMQBytesCompatibleMessage(ClientMessage message, ClientSession session)`
    `ActiveMQBytesCompatibleMessage(ClientSession session)`
    `ActiveMQCompatibleMessage(byte type, ClientSession session)`
    `ActiveMQCompatibleMessage(ClientMessage message, ClientSession session)`
    `ActiveMQCompatibleMessage(ClientSession session)`
    `ActiveMQCompatibleMessage(javax.jms.Message foreign, byte type, ClientSession session)`
    `ActiveMQCompatibleMessage(javax.jms.Message foreign, ClientSession session)`
    `ActiveMQMapCompatibleMessage(ClientMessage message, ClientSession session)`
    `ActiveMQMapCompatibleMessage(ClientSession session)`
    `ActiveMQMapCompatibleMessage(javax.jms.MapMessage foreign, ClientSession session)`
    `ActiveMQObjectCompatibleMessage(ClientMessage message, ClientSession session, ConnectionFactoryOptions options)`
    `ActiveMQObjectCompatibleMessage(ClientSession session, ConnectionFactoryOptions options)`
    `ActiveMQObjectCompatibleMessage(javax.jms.ObjectMessage foreign, ClientSession session, ConnectionFactoryOptions options)`
    `ActiveMQStreamCompatibleMessage(ClientMessage message, ClientSession session)`
    `ActiveMQStreamCompatibleMessage(ClientSession session)`
    `ActiveMQStreamCompatibleMessage(javax.jms.StreamMessage foreign, ClientSession session)`
    `ActiveMQTextCompatibleMessage(ClientMessage message, ClientSession session)`
    `ActiveMQTextCompatibleMessage(ClientSession session)`
    `ActiveMQTextCompatibleMessage(javax.jms.TextMessage foreign, ClientSession session)`

Copyright © 2021 The Apache Software Foundation. All rights reserved.