## 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.jms.client |

- - ### 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.`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.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)`
    `ActiveMQMessageProducer(ActiveMQConnection connection, ClientProducer producer, ActiveMQDestination defaultDestination, ClientSession clientSession, ConnectionFactoryOptions options)`
    `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)`
    `ActiveMQSession(ConnectionFactoryOptions options, ActiveMQConnection connection, boolean transacted, boolean xa, int ackMode, 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, ClientSession session, int sessionType)`

Copyright © 2017. All rights reserved.