## 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 | 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​(java.lang.String username, java.lang.String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int ackBatchSize)` | Creates an authenticated session.
    `ClientSession` | ClientSessionFactory.`createSession​(java.lang.String username, java.lang.String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int ackBatchSize, java.lang.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 | Description
    --- | ---
    `ClientRequestor​(ClientSession session, java.lang.String requestAddress)` |
    `ClientRequestor​(ClientSession session, org.apache.activemq.artemis.api.core.SimpleString requestAddress)` | Constructor for the ClientRequestor.

  - ### 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 | 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 | Description
    --- | --- | ---
    `ClientSession` | ActiveMQSession.`getCoreSession()` |
    `ClientSession` | ActiveMQConnection.`getInitialSession()` |

    Methods in org.apache.activemq.artemis.jms.client with parameters of type ClientSession
    Modifier and Type | Method | 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 | 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​(javax.jms.MapMessage foreign, ClientSession session)` | Constructor for a foreign MapMessage
    `ActiveMQMapMessage​(ClientMessage message, ClientSession session)` |
    `ActiveMQMapMessage​(ClientSession session)` |
    `ActiveMQMessage​(byte type, ClientSession session)` |
    `ActiveMQMessage​(javax.jms.Message foreign, byte type, ClientSession session)` |
    `ActiveMQMessage​(javax.jms.Message foreign, ClientSession session)` |
    `ActiveMQMessage​(ClientMessage message, ClientSession session)` | Constructor for when receiving a message from the server
    `ActiveMQMessage​(ClientSession session)` |
    `ActiveMQObjectMessage​(javax.jms.ObjectMessage foreign, ClientSession session, ConnectionFactoryOptions options)` | A copy constructor for foreign JMS ObjectMessages.
    `ActiveMQObjectMessage​(ClientMessage message, ClientSession session, ConnectionFactoryOptions options)` |
    `ActiveMQObjectMessage​(ClientSession session, ConnectionFactoryOptions options)` |
    `ActiveMQQueueBrowser​(ConnectionFactoryOptions options, ActiveMQQueue queue, java.lang.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​(javax.jms.StreamMessage foreign, ClientSession session)` |
    `ActiveMQStreamMessage​(ClientMessage message, ClientSession session)` |
    `ActiveMQStreamMessage​(ClientSession session)` |
    `ActiveMQTextMessage​(javax.jms.TextMessage foreign, ClientSession session)` | A copy constructor for non-ActiveMQ Artemis JMS TextMessages.
    `ActiveMQTextMessage​(ClientMessage message, ClientSession session)` |
    `ActiveMQTextMessage​(ClientSession session)` |
    `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 | 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 | Description
    --- | ---
    `ActiveMQBytesCompatibleMessage​(javax.jms.BytesMessage foreign, ClientSession session)` |
    `ActiveMQBytesCompatibleMessage​(ClientMessage message, ClientSession session)` |
    `ActiveMQBytesCompatibleMessage​(ClientSession session)` |
    `ActiveMQCompatibleMessage​(byte type, ClientSession session)` |
    `ActiveMQCompatibleMessage​(javax.jms.Message foreign, byte type, ClientSession session)` |
    `ActiveMQCompatibleMessage​(javax.jms.Message foreign, ClientSession session)` |
    `ActiveMQCompatibleMessage​(ClientMessage message, ClientSession session)` |
    `ActiveMQCompatibleMessage​(ClientSession session)` |
    `ActiveMQMapCompatibleMessage​(javax.jms.MapMessage foreign, ClientSession session)` |
    `ActiveMQMapCompatibleMessage​(ClientMessage message, ClientSession session)` |
    `ActiveMQMapCompatibleMessage​(ClientSession session)` |
    `ActiveMQObjectCompatibleMessage​(javax.jms.ObjectMessage foreign, ClientSession session, ConnectionFactoryOptions options)` |
    `ActiveMQObjectCompatibleMessage​(ClientMessage message, ClientSession session, ConnectionFactoryOptions options)` |
    `ActiveMQObjectCompatibleMessage​(ClientSession session, ConnectionFactoryOptions options)` |
    `ActiveMQStreamCompatibleMessage​(javax.jms.StreamMessage foreign, ClientSession session)` |
    `ActiveMQStreamCompatibleMessage​(ClientMessage message, ClientSession session)` |
    `ActiveMQStreamCompatibleMessage​(ClientSession session)` |
    `ActiveMQTextCompatibleMessage​(javax.jms.TextMessage foreign, ClientSession session)` |
    `ActiveMQTextCompatibleMessage​(ClientMessage message, ClientSession session)` |
    `ActiveMQTextCompatibleMessage​(ClientSession session)` |