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.
|
Modifier and Type | Method and Description |
---|---|
ClientSessionFactory |
ActiveMQConnection.getSessionFactory() |
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) |
Modifier and Type | Method and Description |
---|---|
void |
ActiveMQJMSServerLogger.xaRecoverConnectionError(Exception e,
ClientSessionFactory csf) |
Modifier and Type | Method and Description |
---|---|
ClientSessionFactory |
ClientProtocolManager.getSessionFactory() |
Modifier and Type | Method and Description |
---|---|
void |
ClientProtocolManager.setSessionFactory(ClientSessionFactory factory) |
Copyright © 2020 The Apache Software Foundation. All rights reserved.