Uses of Class
org.apache.activemq.artemis.api.core.TransportConfiguration
-
-
Uses of TransportConfiguration in org.apache.activemq.artemis.api.core
Methods in org.apache.activemq.artemis.api.core that return TransportConfiguration Modifier and Type Method Description TransportConfiguration
TransportConfiguration. newTransportConfig(String newName)
Methods in org.apache.activemq.artemis.api.core with parameters of type TransportConfiguration Modifier and Type Method Description boolean
TransportConfiguration. isEquivalent(TransportConfiguration otherConfig)
There's a case on ClusterConnections that we need to find an equivalent Connector and we can't use a Netty Cluster Connection on an InVM ClusterConnection (inVM used on tests) for that reason I need to test if the two instances of the TransportConfiguration are equivalent while a test a connector against an acceptorboolean
TransportConfiguration. isSameParams(TransportConfiguration that)
-
Uses of TransportConfiguration in org.apache.activemq.artemis.api.core.client
Methods in org.apache.activemq.artemis.api.core.client that return TransportConfiguration Modifier and Type Method Description TransportConfiguration
TopologyMember. getBackup()
Returns the TransportConfiguration relative to the backup server if any.TransportConfiguration
ClientSessionFactory. getConnectorConfiguration()
Return the configuration usedTransportConfiguration
TopologyMember. getLive()
Deprecated, for removal: This API element is subject to removal in a future version.TransportConfiguration
TopologyMember. getPrimary()
TransportConfiguration[]
ServerLocator. getStaticTransportConfigurations()
Returns an array of TransportConfigurations representing the static list of servers used when creating this objectMethods in org.apache.activemq.artemis.api.core.client with parameters of type TransportConfiguration Modifier and Type Method Description static ServerLocator
ActiveMQClient. createServerLocator(boolean ha, TransportConfiguration... transportConfigurations)
Create a ServerLocator which creates session factories using a static list of transportConfigurations, the ServerLocator is not updated automatically as the cluster topology changes, and no HA backup information is propagated to the clientstatic ServerLocator
ActiveMQClient. createServerLocatorWithHA(TransportConfiguration... initialServers)
Create a ServerLocator which will receive cluster topology updates from the cluster as servers leave or join and new backups are appointed or removed.static ServerLocator
ActiveMQClient. createServerLocatorWithoutHA(TransportConfiguration... transportConfigurations)
Create a ServerLocator which creates session factories using a static list of transportConfigurations, the ServerLocator is not updated automatically as the cluster topology changes, and no HA backup information is propagated to the clientClientSessionFactory
ServerLocator. createSessionFactory(TransportConfiguration transportConfiguration)
Creates aClientSessionFactory
to a specific server.ClientSessionFactory
ServerLocator. createSessionFactory(TransportConfiguration transportConfiguration, int reconnectAttempts)
Creates aClientSessionFactory
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.boolean
TopologyMember. isMember(TransportConfiguration configuration)
Returns true if this configuration is the target of this remoting connection -
Uses of TransportConfiguration in org.apache.activemq.artemis.api.jms
Methods in org.apache.activemq.artemis.api.jms with parameters of type TransportConfiguration Modifier and Type Method Description static org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory
ActiveMQJMSClient. createConnectionFactoryWithHA(JMSFactoryType jmsFactoryType, TransportConfiguration... initialServers)
Create an ActiveMQConnectionFactory which will receive cluster topology updates from the cluster as servers leave or join and new backups are appointed or removed.abstract org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory
JMSFactoryType. createConnectionFactoryWithHA(TransportConfiguration... initialServers)
Create an ActiveMQConnectionFactory which will receive cluster topology updates from the cluster as servers leave or join and new backups are appointed or removed.static org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory
ActiveMQJMSClient. createConnectionFactoryWithoutHA(JMSFactoryType jmsFactoryType, TransportConfiguration... transportConfigurations)
Create an ActiveMQConnectionFactory which creates session factories using a static list of transportConfigurations.abstract org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory
JMSFactoryType. createConnectionFactoryWithoutHA(TransportConfiguration... transportConfigurations)
Create an ActiveMQConnectionFactory which creates session factories using a static list of transportConfigurations. -
Uses of TransportConfiguration in org.apache.activemq.artemis.core.config
Methods in org.apache.activemq.artemis.core.config that return TransportConfiguration Modifier and Type Method Description TransportConfiguration
ClusterConnectionConfiguration. getTransportConfiguration(Configuration configuration)
TransportConfiguration[]
ClusterConnectionConfiguration. getTransportConfigurations(Configuration configuration)
This method will match the configuration and return the proper TransportConfiguration for the ConfigurationTransportConfiguration[]
Configuration. getTransportConfigurations(String... connectorNames)
TransportConfiguration[]
Configuration. getTransportConfigurations(List<String> connectorNames)
Methods in org.apache.activemq.artemis.core.config that return types with arguments of type TransportConfiguration Modifier and Type Method Description Set<TransportConfiguration>
Configuration. getAcceptorConfigurations()
Returns the acceptors configured for this server.Map<String,TransportConfiguration>
Configuration. getConnectorConfigurations()
Returns the connectors configured for this server.static List<TransportConfiguration>
ConfigurationUtils. parseAcceptorURI(String name, String uri)
static List<TransportConfiguration>
ConfigurationUtils. parseAcceptorURI(String name, URI uri)
static List<TransportConfiguration>
ConfigurationUtils. parseConnectorURI(String name, String uri)
static List<TransportConfiguration>
ConfigurationUtils. parseConnectorURI(String name, URI uri)
Methods in org.apache.activemq.artemis.core.config with parameters of type TransportConfiguration Modifier and Type Method Description Configuration
Configuration. addAcceptorConfiguration(TransportConfiguration infos)
Configuration
Configuration. addConnectorConfiguration(String key, TransportConfiguration info)
Method parameters in org.apache.activemq.artemis.core.config with type arguments of type TransportConfiguration Modifier and Type Method Description Configuration
Configuration. setAcceptorConfigurations(Set<TransportConfiguration> infos)
Sets the acceptors configured for this server.Configuration
Configuration. setConnectorConfigurations(Map<String,TransportConfiguration> infos)
Sets the connectors configured for this server. -
Uses of TransportConfiguration in org.apache.activemq.artemis.core.config.amqpBrokerConnectivity
Methods in org.apache.activemq.artemis.core.config.amqpBrokerConnectivity that return types with arguments of type TransportConfiguration Modifier and Type Method Description List<TransportConfiguration>
AMQPBrokerConnectConfiguration. getTransportConfigurations()
-
Uses of TransportConfiguration in org.apache.activemq.artemis.core.config.federation
Methods in org.apache.activemq.artemis.core.config.federation that return TransportConfiguration Modifier and Type Method Description TransportConfiguration
FederationDownstreamConfiguration. getUpstreamConfiguration()
Methods in org.apache.activemq.artemis.core.config.federation with parameters of type TransportConfiguration Modifier and Type Method Description void
FederationDownstreamConfiguration. setUpstreamConfiguration(TransportConfiguration transportConfiguration)
-
Uses of TransportConfiguration in org.apache.activemq.artemis.spi.core.protocol
Methods in org.apache.activemq.artemis.spi.core.protocol with parameters of type TransportConfiguration Modifier and Type Method Description default void
RemotingConnection. disconnect(DisconnectReason reason, String targetNodeID, TransportConfiguration targetConnector)
Disconnect the connection, closing all channelsdefault boolean
RemotingConnection. isSameTarget(TransportConfiguration... configs)
-
Uses of TransportConfiguration in org.apache.activemq.artemis.spi.core.remoting
Methods in org.apache.activemq.artemis.spi.core.remoting that return TransportConfiguration Modifier and Type Method Description TransportConfiguration
ClientProtocolManagerFactory. adaptTransportConfiguration(TransportConfiguration tc)
Adapt the transport configuration passed in parameter and return an adapted one that is suitable to use with ClientProtocolManager created by this factory.TransportConfiguration
Connection. getConnectorConfig()
Generates aTransportConfiguration
to be used to connect to the same target this is connected to.Methods in org.apache.activemq.artemis.spi.core.remoting with parameters of type TransportConfiguration Modifier and Type Method Description TransportConfiguration
ClientProtocolManagerFactory. adaptTransportConfiguration(TransportConfiguration tc)
Adapt the transport configuration passed in parameter and return an adapted one that is suitable to use with ClientProtocolManager created by this factory.boolean
Connection. isSameTarget(TransportConfiguration... configs)
void
TopologyResponseHandler. nodeDisconnected(RemotingConnection conn, String nodeID, DisconnectReason reason, String targetNodeID, TransportConfiguration tagetConnector)
Method parameters in org.apache.activemq.artemis.spi.core.remoting with type arguments of type TransportConfiguration Modifier and Type Method Description void
TopologyResponseHandler. notifyNodeUp(long uniqueEventID, String backupGroupName, String scaleDownGroupName, String nodeName, Pair<TransportConfiguration,TransportConfiguration> connectorPair, boolean isLast)
void
TopologyResponseHandler. notifyNodeUp(long uniqueEventID, String backupGroupName, String scaleDownGroupName, String nodeName, Pair<TransportConfiguration,TransportConfiguration> connectorPair, boolean isLast)
-