org.apache.activemq.broker
Class BrokerFactory
java.lang.Object
org.apache.activemq.broker.BrokerFactory
public class BrokerFactory
- extends Object
A helper class to create a fully configured broker service using a URI.
- Version:
- $Revision$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrokerFactory
public BrokerFactory()
createBrokerFactoryHandler
public static BrokerFactory.BrokerFactoryHandler createBrokerFactoryHandler(String type)
throws IOException
- Throws:
IOException
createBroker
public static BrokerService createBroker(URI brokerURI)
throws Exception
- Creates a broker from a URI configuration
- Parameters:
brokerURI
-
- Throws:
Exception
Copyright © 2011 Apache Software Foundation. All Rights Reserved.