Class TransportConnector

    • Constructor Detail

      • TransportConnector

        public TransportConnector()
      • TransportConnector

        public TransportConnector​(TransportServer server)
    • Method Detail

      • setBrokerInfo

        public void setBrokerInfo​(BrokerInfo brokerInfo)
      • getUri

        public URI getUri()
      • setTaskRunnerFactory

        public void setTaskRunnerFactory​(TaskRunnerFactory taskRunnerFactory)
      • setMessageAuthorizationPolicy

        public void setMessageAuthorizationPolicy​(MessageAuthorizationPolicy messageAuthorizationPolicy)
        Sets the policy used to decide if the current connection is authorized to consume a given message
      • setDiscoveryAgent

        public void setDiscoveryAgent​(DiscoveryAgent discoveryAgent)
      • getDiscoveryUri

        public URI getDiscoveryUri()
      • setDiscoveryUri

        public void setDiscoveryUri​(URI discoveryUri)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • addPeerBroker

        public void addPeerBroker​(BrokerInfo info)
      • removePeerBroker

        public void removePeerBroker​(BrokerInfo info)
      • updateClientClusterInfo

        public void updateClientClusterInfo()
        Description copied from interface: Connector
        Update all the connections with information about the connected brokers in the cluster
        Specified by:
        updateClientClusterInfo in interface Connector
      • isDisableAsyncDispatch

        public boolean isDisableAsyncDispatch()
      • setDisableAsyncDispatch

        public void setDisableAsyncDispatch​(boolean disableAsyncDispatch)
      • isEnableStatusMonitor

        public boolean isEnableStatusMonitor()
        Returns:
        the enableStatusMonitor
      • setEnableStatusMonitor

        public void setEnableStatusMonitor​(boolean enableStatusMonitor)
        Parameters:
        enableStatusMonitor - the enableStatusMonitor to set
      • getBroker

        public Broker getBroker()
      • isUpdateClusterClients

        public boolean isUpdateClusterClients()
        Specified by:
        isUpdateClusterClients in interface Connector
        Returns:
        the updateClusterClients
      • setUpdateClusterClients

        public void setUpdateClusterClients​(boolean updateClusterClients)
        Parameters:
        updateClusterClients - the updateClusterClients to set
      • isRebalanceClusterClients

        public boolean isRebalanceClusterClients()
        Specified by:
        isRebalanceClusterClients in interface Connector
        Returns:
        the rebalanceClusterClients
      • setRebalanceClusterClients

        public void setRebalanceClusterClients​(boolean rebalanceClusterClients)
        Parameters:
        rebalanceClusterClients - the rebalanceClusterClients to set
      • setUpdateClusterClientsOnRemove

        public void setUpdateClusterClientsOnRemove​(boolean updateClusterClientsOnRemove)
        Parameters:
        updateClusterClientsOnRemove - the updateClusterClientsOnRemove to set
      • setUpdateClusterFilter

        public void setUpdateClusterFilter​(String updateClusterFilter)
        Parameters:
        updateClusterFilter - the updateClusterFilter to set
      • isAllowLinkStealing

        public boolean isAllowLinkStealing()
        Description copied from interface: Connector
        If enabled, older connections with the same clientID are stopped
        Specified by:
        isAllowLinkStealing in interface Connector
        Returns:
        true/false if link stealing is enabled
      • setAllowLinkStealing

        public void setAllowLinkStealing​(boolean allowLinkStealing)
      • isAuditNetworkProducers

        public boolean isAuditNetworkProducers()
      • setAuditNetworkProducers

        public void setAuditNetworkProducers​(boolean auditNetworkProducers)
        Enable a producer audit on network connections, Traps the case of a missing send reply and resend. Note: does not work with conduit=false, networked composite destinations or networked virtual topics
        Parameters:
        auditNetworkProducers -
      • getMaximumProducersAllowedPerConnection

        public int getMaximumProducersAllowedPerConnection()
      • setMaximumProducersAllowedPerConnection

        public void setMaximumProducersAllowedPerConnection​(int maximumProducersAllowedPerConnection)
      • getMaximumConsumersAllowedPerConnection

        public int getMaximumConsumersAllowedPerConnection()
      • setMaximumConsumersAllowedPerConnection

        public void setMaximumConsumersAllowedPerConnection​(int maximumConsumersAllowedPerConnection)
      • getPublishedAddressPolicy

        public PublishedAddressPolicy getPublishedAddressPolicy()
        Gets the currently configured policy for creating the published connection address of this TransportConnector.
        Returns:
        the publishedAddressPolicy
      • setPublishedAddressPolicy

        public void setPublishedAddressPolicy​(PublishedAddressPolicy publishedAddressPolicy)
        Sets the configured policy for creating the published connection address of this TransportConnector.
      • isWarnOnRemoteClose

        public boolean isWarnOnRemoteClose()
      • setWarnOnRemoteClose

        public void setWarnOnRemoteClose​(boolean warnOnRemoteClose)
      • isDisplayStackTrace

        public boolean isDisplayStackTrace()
      • setDisplayStackTrace

        public void setDisplayStackTrace​(boolean displayStackTrace)