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

- Packages that use ClientSessionFactory
  Package | Description
  --- | ---
  org.apache.activemq.artemis.api.core.client |
  org.apache.activemq.artemis.jms.client |
  org.apache.activemq.artemis.jms.server |
  org.apache.activemq.artemis.spi.core.remoting |

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

    Methods in org.apache.activemq.artemis.api.core.client that return ClientSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `ClientSessionFactory` | ClientSessionFactory.`addFailoverListener(FailoverEventListener listener)` Adds a FailoverEventListener to the session which is notified if a failover event occurs on the session.
    `ClientSessionFactory` | ServerLocator.`createSessionFactory()` Creates a ClientSessionFactory using whatever load balancing policy is in force
    `ClientSessionFactory` | ServerLocator.`createSessionFactory(String nodeID)` Creates a `ClientSessionFactory` to a specific server.
    `ClientSessionFactory` | ServerLocator.`createSessionFactory(TransportConfiguration transportConfiguration)` Creates a `ClientSessionFactory` to a specific server.
    `ClientSessionFactory` | ServerLocator.`createSessionFactory(TransportConfiguration transportConfiguration, int reconnectAttempts)` Creates a `ClientSessionFactory` to a specific server.
    `ClientSessionFactory` | ServerLocator.`createSessionFactory(TransportConfiguration transportConfiguration, int reconnectAttempts, boolean failoverOnInitialConnection)` Deprecated. This method is no longer acceptable to create a client session factory. Replaced by `ServerLocator.createSessionFactory(TransportConfiguration, int)`.
    `ClientSessionFactory` | ClientSession.`getSessionFactory()` Return the sessionFactory used to created this Session.

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

    Methods in org.apache.activemq.artemis.jms.client that return ClientSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `ClientSessionFactory` | ActiveMQConnection.`getSessionFactory()`

    Constructors in org.apache.activemq.artemis.jms.client with parameters of type ClientSessionFactory
    Constructor and Description
    `ActiveMQConnection(ConnectionFactoryOptions options, String username, String password, int connectionType, String clientID, int dupsOKBatchSize, int transactionBatchSize, boolean cacheDestinations, boolean enable1xPrefixes, ClientSessionFactory sessionFactory)`
    `ActiveMQXAConnection(ConnectionFactoryOptions options, String username, String password, int connectionType, String clientID, int dupsOKBatchSize, int transactionBatchSize, boolean cacheDestinations, boolean enable1xNaming, ClientSessionFactory sessionFactory)`

  - ### Uses of ClientSessionFactory in org.apache.activemq.artemis.jms.server

    Methods in org.apache.activemq.artemis.jms.server with parameters of type ClientSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | ActiveMQJMSServerLogger_$logger.`xaRecoverConnectionError(Exception e, ClientSessionFactory csf)`
    `void` | ActiveMQJMSServerLogger.`xaRecoverConnectionError(Exception e, ClientSessionFactory csf)`

  - ### Uses of ClientSessionFactory in org.apache.activemq.artemis.spi.core.remoting

    Methods in org.apache.activemq.artemis.spi.core.remoting that return ClientSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `ClientSessionFactory` | ClientProtocolManager.`getSessionFactory()`

    Methods in org.apache.activemq.artemis.spi.core.remoting with parameters of type ClientSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientProtocolManager.`setSessionFactory(ClientSessionFactory factory)`

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