Uses of Class
org.apache.activemq.artemis.api.core.TransportConfiguration
Packages that use TransportConfiguration
Package
Description
-
Uses of TransportConfiguration in org.apache.activemq.artemis.api.core
Methods in org.apache.activemq.artemis.api.core that return TransportConfigurationMethods in org.apache.activemq.artemis.api.core with parameters of type TransportConfigurationModifier and TypeMethodDescriptionboolean
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 TransportConfigurationModifier and TypeMethodDescriptionTopologyMember.getBackup()
Returns aTransportConfiguration
for the backup, or null if the primary server has no backup server..ClientSessionFactory.getConnectorConfiguration()
Returns the configuration used.TopologyMember.getLive()
Deprecated, for removal: This API element is subject to removal in a future version.TopologyMember.getPrimary()
Returns configuration relative to the primary server.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 TransportConfigurationModifier and TypeMethodDescriptionstatic 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 clientServerLocator.createSessionFactory
(TransportConfiguration transportConfiguration) Creates aClientSessionFactory
to a specific server.ServerLocator.createSessionFactory
(TransportConfiguration transportConfiguration, int reconnectAttempts) Creates aClientSessionFactory
to a specific server.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) Returnstrue
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 TransportConfigurationModifier and TypeMethodDescriptionstatic 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 TransportConfigurationModifier and TypeMethodDescriptionClusterConnectionConfiguration.getTransportConfiguration
(Configuration configuration) ClusterConnectionConfiguration.getTransportConfigurations
(Configuration configuration) This method will match the configuration and return the proper TransportConfiguration for the ConfigurationConfiguration.getTransportConfigurations
(String... connectorNames) Configuration.getTransportConfigurations
(List<String> connectorNames) Methods in org.apache.activemq.artemis.core.config that return types with arguments of type TransportConfigurationModifier and TypeMethodDescriptionConfiguration.getAcceptorConfigurations()
Returns the acceptors configured for this server.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 TransportConfigurationModifier and TypeMethodDescriptionConfiguration.addAcceptorConfiguration
(TransportConfiguration infos) Configuration.addConnectorConfiguration
(String key, TransportConfiguration info) Method parameters in org.apache.activemq.artemis.core.config with type arguments of type TransportConfigurationModifier and TypeMethodDescriptionConfiguration.setAcceptorConfigurations
(Set<TransportConfiguration> infos) Sets the acceptors configured for this server.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 -
Uses of TransportConfiguration in org.apache.activemq.artemis.core.config.federation
Methods in org.apache.activemq.artemis.core.config.federation that return TransportConfigurationMethods in org.apache.activemq.artemis.core.config.federation with parameters of type TransportConfigurationModifier and TypeMethodDescriptionvoid
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 TransportConfigurationModifier and TypeMethodDescriptiondefault 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 TransportConfigurationModifier and TypeMethodDescriptionClientProtocolManagerFactory.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.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 TransportConfigurationModifier and TypeMethodDescriptionClientProtocolManagerFactory.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 TransportConfigurationModifier and TypeMethodDescriptionvoid
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)