Class FileBroker

java.lang.Object
org.apache.activemq.artemis.integration.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 Details

    • FileBroker

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

    • 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()
    • createComponents

      public void createComponents() throws Exception
      Specified by:
      createComponents in interface Broker
      Throws:
      Exception
    • getServer

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