Class NetworkConnector

    • Constructor Detail

      • NetworkConnector

        public NetworkConnector()
      • NetworkConnector

        public NetworkConnector​(URI localURI)
    • Method Detail

      • setLocalUri

        public void setLocalUri​(URI localURI)
      • getDurableDestinations

        public Set<org.apache.activemq.command.ActiveMQDestination> getDurableDestinations()
        Returns:
        Returns the durableDestinations.
      • setDurableDestinations

        public void setDurableDestinations​(Set<org.apache.activemq.command.ActiveMQDestination> durableDestinations)
        Parameters:
        durableDestinations - The durableDestinations to set.
      • addExcludedDestination

        public void addExcludedDestination​(org.apache.activemq.command.ActiveMQDestination destination)
      • addStaticallyIncludedDestination

        public void addStaticallyIncludedDestination​(org.apache.activemq.command.ActiveMQDestination destination)
      • addDynamicallyIncludedDestination

        public void addDynamicallyIncludedDestination​(org.apache.activemq.command.ActiveMQDestination destination)
      • setConnectionFilter

        public void setConnectionFilter​(ConnectionFilter connectionFilter)
      • createLocalTransport

        protected org.apache.activemq.transport.Transport createLocalTransport()
                                                                        throws Exception
        Throws:
        Exception
      • getDurableTopicDestinations

        public static org.apache.activemq.command.ActiveMQDestination[] getDurableTopicDestinations​(Set<org.apache.activemq.command.ActiveMQDestination> durableDestinations)
      • start

        public void start()
                   throws Exception
        Specified by:
        start in interface org.apache.activemq.Service
        Throws:
        Exception
      • stop

        public void stop()
                  throws Exception
        Specified by:
        stop in interface org.apache.activemq.Service
        Throws:
        Exception
      • handleStop

        protected void handleStop​(org.apache.activemq.util.ServiceStopper stopper)
                           throws Exception
        Throws:
        Exception
      • isStarted

        public boolean isStarted()
      • isStopped

        public boolean isStopped()
      • isStopping

        public boolean isStopping()
      • getObjectName

        public ObjectName getObjectName()
      • setObjectName

        public void setObjectName​(ObjectName objectName)
      • setBrokerService

        public void setBrokerService​(BrokerService brokerService)
      • registerNetworkBridgeMBean

        protected void registerNetworkBridgeMBean​(NetworkBridge bridge)
      • unregisterNetworkBridgeMBean

        protected void unregisterNetworkBridgeMBean​(NetworkBridge bridge)
      • removeDemandSubscription

        public boolean removeDemandSubscription​(org.apache.activemq.command.ConsumerId consumerId)