public final class BrokerFactory extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
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) |
public static BrokerFactoryHandler createBrokerFactoryHandler(java.lang.String type) throws java.io.IOException
java.io.IOExceptionpublic static BrokerService createBroker(java.net.URI brokerURI) throws java.lang.Exception
brokerURI - the URI scheme to configure the brokerjava.lang.Exceptionpublic 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
constructionjava.lang.Exceptionpublic static BrokerService createBroker(java.lang.String brokerURI) throws java.lang.Exception
brokerURI - the URI scheme to configure the brokerjava.lang.Exceptionpublic 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
constructionjava.lang.ExceptionCopyright © 2005-2012. All Rights Reserved.