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) |
static boolean |
getStartDefault() |
static void |
resetStartDefault() |
static void |
setStartDefault(boolean startDefault) |
public static BrokerFactoryHandler createBrokerFactoryHandler(String type) throws IOException
IOException
public static BrokerService createBroker(URI brokerURI) throws Exception
brokerURI
- the URI scheme to configure the brokerException
public 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
constructionException
public static BrokerService createBroker(String brokerURI) throws Exception
brokerURI
- the URI scheme to configure the brokerException
public 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
constructionException
public static void setStartDefault(boolean startDefault)
public static void resetStartDefault()
public static boolean getStartDefault()
Copyright © 2005–2018 FuseSource, Corp.. All rights reserved.