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.IOException
public static BrokerService createBroker(java.net.URI brokerURI) throws java.lang.Exception
brokerURI
- the URI scheme to configure the brokerjava.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
constructionjava.lang.Exception
public static BrokerService createBroker(java.lang.String brokerURI) throws java.lang.Exception
brokerURI
- the URI scheme to configure the brokerjava.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
constructionjava.lang.Exception
Copyright © 2005-2017. All Rights Reserved.