Package | Description |
---|---|
org.apache.activemq.artemis.api.core.client | |
org.apache.activemq.artemis.spi.core.remoting |
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 |
ClientProtocolManager.getSessionFactory() |
Modifier and Type | Method and Description |
---|---|
void |
ClientProtocolManager.setSessionFactory(ClientSessionFactory factory) |
Copyright © 2020 The Apache Software Foundation. All rights reserved.