public class StreamConfigurationReader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_XML_FILE |
static String |
CONNECTOR_DATA_STREAM_NAME |
static String |
COULD_NOT_LOAD_CONFIGURATION |
static String |
HTTP_DATA_STREAM_NAME |
static String |
WEBAPP_RESOURCE_STREAM_NAME |
Modifier and Type | Method and Description |
---|---|
static StreamConfigurationReader |
getInstance() |
StreamConfigContext |
getStreamConfiguration(String id)
Read the properties for a given stream configuration.
|
public static final String CONNECTOR_DATA_STREAM_NAME
public static final String WEBAPP_RESOURCE_STREAM_NAME
public static final String HTTP_DATA_STREAM_NAME
public static final String CONFIG_XML_FILE
public static final String COULD_NOT_LOAD_CONFIGURATION
public static StreamConfigurationReader getInstance() throws BAMPublisherConfigurationException
BAMPublisherConfigurationException
public StreamConfigContext getStreamConfiguration(String id) throws BAMPublisherConfigurationException
<bamPublisher>
<streams>
<stream name="ConnectorDataStream">
<enabled>true</enabled>
<nickName></nickName>
<streamVersion></streamVersion>
<username></username>
<password></password>
<receiverUrl></receiverUrl>
<description></description>
</stream>
</streams>
</bamPublisher>
Copyright © 2019 WSO2. All rights reserved.