Class FileBroker

  • All Implemented Interfaces:
    org.apache.activemq.artemis.core.server.ActiveMQComponent, org.apache.activemq.artemis.core.server.ServiceComponent, Broker

    public class FileBroker
    extends Object
    implements Broker
    • Constructor Detail

      • FileBroker

        public FileBroker​(ServerDTO broker,
                          ActiveMQSecurityManager security,
                          org.apache.activemq.artemis.core.server.ActivateCallback activateCallback)
    • Method Detail

      • start

        public void start()
                   throws Exception
        Specified by:
        start in interface org.apache.activemq.artemis.core.server.ActiveMQComponent
        Throws:
        Exception
      • stop

        public void stop()
                  throws Exception
        Specified by:
        stop in interface org.apache.activemq.artemis.core.server.ActiveMQComponent
        Throws:
        Exception
      • stop

        public void stop​(boolean isShutdown)
                  throws Exception
        Specified by:
        stop in interface org.apache.activemq.artemis.core.server.ServiceComponent
        Throws:
        Exception
      • isStarted

        public boolean isStarted()
        Specified by:
        isStarted in interface org.apache.activemq.artemis.core.server.ActiveMQComponent
      • getComponents

        public Map<String,​org.apache.activemq.artemis.core.server.ActiveMQComponent> getComponents()
      • getServer

        public org.apache.activemq.artemis.core.server.ActiveMQServer getServer()
        Specified by:
        getServer in interface Broker