public final class BrokerFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static BrokerService |
createBroker(String brokerURI)
Creates a broker from a URI configuration
|
static BrokerService |
createBroker(String brokerURI,
boolean startBroker)
Creates a broker from a URI configuration
|
static BrokerService |
createBroker(URI brokerURI)
Creates a broker from a URI configuration
|
static BrokerService |
createBroker(URI brokerURI,
boolean startBroker)
Creates a broker from a URI configuration
|
static BrokerFactoryHandler |
createBrokerFactoryHandler(String type) |
public static BrokerFactoryHandler createBrokerFactoryHandler(String type) throws IOException
IOExceptionpublic static BrokerService createBroker(URI brokerURI) throws Exception
brokerURI - the URI scheme to configure the brokerExceptionpublic static BrokerService createBroker(URI brokerURI, boolean startBroker) throws Exception
brokerURI - the URI scheme to configure the brokerstartBroker - whether or not the broker should have its
BrokerService.start() method called after
constructionExceptionpublic static BrokerService createBroker(String brokerURI) throws Exception
brokerURI - the URI scheme to configure the brokerExceptionpublic static BrokerService createBroker(String brokerURI, boolean startBroker) throws Exception
brokerURI - the URI scheme to configure the brokerstartBroker - whether or not the broker should have its
BrokerService.start() method called after
constructionExceptionCopyright © 2005–2017. All rights reserved.