Class XBeanBrokerService

  • All Implemented Interfaces:
    Service

    public class XBeanBrokerService
    extends BrokerService
    An ActiveMQ Message Broker. It consists of a number of transport connectors, network connectors and a bunch of properties which can be used to configure the broker as its lazily created.
    • Constructor Detail

      • XBeanBrokerService

        public XBeanBrokerService()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Throws:
        Exception
      • setStart

        public void setStart​(boolean start)
        Sets whether or not the broker is started along with the ApplicationContext it is defined within. Normally you would want the broker to start up along with the ApplicationContext but sometimes when working with JUnit tests you may wish to start and stop the broker explicitly yourself.