public class PropertiesBrokerFactory extends Object implements BrokerFactoryHandler
BrokerFactoryHandler which uses a properties file to configure the
broker's various policies.| Constructor and Description |
|---|
PropertiesBrokerFactory() |
| Modifier and Type | Method and Description |
|---|---|
BrokerService |
createBroker(URI brokerURI) |
protected BrokerService |
createBrokerService(URI brokerURI,
Map properties) |
protected InputStream |
findResourceOnClassPath(String remaining) |
protected Map |
loadProperties(URI brokerURI)
Lets load the properties from some external URL or a relative file
|
public PropertiesBrokerFactory()
public BrokerService createBroker(URI brokerURI) throws Exception
createBroker in interface BrokerFactoryHandlerExceptionprotected Map loadProperties(URI brokerURI) throws IOException
IOExceptionprotected InputStream findResourceOnClassPath(String remaining)
protected BrokerService createBrokerService(URI brokerURI, Map properties)
Copyright © 2005–2015 FuseSource, Corp.. All rights reserved.