|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.broker.BrokerFactory
public final class BrokerFactory
A helper class to create a fully configured broker service using a URI. The list of currently supported URI syntaxes is described here
Method Summary | |
---|---|
static BrokerService |
createBroker(java.lang.String brokerURI)
Creates a broker from a URI configuration |
static BrokerService |
createBroker(java.lang.String brokerURI,
boolean startBroker)
Creates a broker from a URI configuration |
static BrokerService |
createBroker(java.net.URI brokerURI)
Creates a broker from a URI configuration |
static BrokerService |
createBroker(java.net.URI brokerURI,
boolean startBroker)
Creates a broker from a URI configuration |
static BrokerFactoryHandler |
createBrokerFactoryHandler(java.lang.String type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static BrokerFactoryHandler createBrokerFactoryHandler(java.lang.String type) throws java.io.IOException
java.io.IOException
public static BrokerService createBroker(java.net.URI brokerURI) throws java.lang.Exception
brokerURI
- the URI scheme to configure the broker
java.lang.Exception
public static BrokerService createBroker(java.net.URI brokerURI, boolean startBroker) throws java.lang.Exception
brokerURI
- the URI scheme to configure the brokerstartBroker
- whether or not the broker should have its
BrokerService.start()
method called after
construction
java.lang.Exception
public static BrokerService createBroker(java.lang.String brokerURI) throws java.lang.Exception
brokerURI
- the URI scheme to configure the broker
java.lang.Exception
public static BrokerService createBroker(java.lang.String brokerURI, boolean startBroker) throws java.lang.Exception
brokerURI
- the URI scheme to configure the brokerstartBroker
- whether or not the broker should have its
BrokerService.start()
method called after
construction
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |