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 BrokerService createBroker(URI brokerURI) throws Exception
createBroker
in interface BrokerFactoryHandler
Exception
protected Map loadProperties(URI brokerURI) throws IOException
IOException
protected InputStream findResourceOnClassPath(String remaining)
protected BrokerService createBrokerService(URI brokerURI, Map properties)
Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.