Class SpringBrokerContextListener

  • All Implemented Interfaces:
    EventListener, ServletContextListener

    public class SpringBrokerContextListener
    extends Object
    implements ServletContextListener
    Used to configure and instance of ActiveMQ BrokerService using ActiveMQ/Spring's xml configuration.

    The configuration file is specified via the context init parameter brokerURI, typically: <context-param> <param-name>brokerURI</param-name> <param-value>/WEB-INF/activemq.xml</param-value> </context-param> As a a default, if a brokerURI is not specified it will look up for activemq.xml