Class BrokerDeployer

java.lang.Object
org.apache.uima.adapter.jms.activemq.BrokerDeployer
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener

public class BrokerDeployer extends Object implements org.springframework.context.ApplicationListener
Deprecated.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
    BrokerDeployer(long maxMemoryinBytes)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.activemq.broker.BrokerService
    Deprecated.
     
    void
    onApplicationEvent(org.springframework.context.ApplicationEvent anEvent)
    Deprecated.
    Callback method invoked by Spring container during its lifecycle changes Ignore all events except for ContextClosedEvent which indicates the container has shutdown.
    void
    Deprecated.
     
    void
    Deprecated.
    Stops the ActiveMQ broker.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BrokerDeployer

      public BrokerDeployer(long maxMemoryinBytes) throws Exception
      Deprecated.
      Throws:
      Exception
    • BrokerDeployer

      public BrokerDeployer() throws Exception
      Deprecated.
      Throws:
      Exception
  • Method Details

    • getBroker

      public org.apache.activemq.broker.BrokerService getBroker()
      Deprecated.
    • startInternalBroker

      public void startInternalBroker() throws Exception
      Deprecated.
      Throws:
      Exception
    • stop

      public void stop()
      Deprecated.
      Stops the ActiveMQ broker. This method waits for 1 second to allow the broker to cleanup objects from JMX Server.
    • onApplicationEvent

      public void onApplicationEvent(org.springframework.context.ApplicationEvent anEvent)
      Deprecated.
      Callback method invoked by Spring container during its lifecycle changes Ignore all events except for ContextClosedEvent which indicates the container has shutdown. In this case, stop the internal ActiveMQ broker.
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener
      Parameters:
      anEvent - - an event object