1 | String getXmlData() {↵ | | 1 | String getConnectionFactory() {↵
|
2 | return getPropertyAsString(XML_DATA);↵ | | 2 | return getPropertyAsString(CONN_FACTORY);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * it's kinda obvious, but we state it anyways. Set the xml file with a↵ | | |
|
6 | * string path.↵ | | |
|
7 | *↵ | | |
|
8 | * @param filename↵ | | |
|
9 | ↵ | | 5 | * set the topic↵
|
| | | 6 | * ↵
|
| | | 7 | * @param topic↵
|
10 | */↵ | | 8 | */↵
|
11 | public void setXmlFile(String filename) {↵ | | 9 | public void setTopic(String ↵
|
12 | setProperty(XML_DATA_FILE, filename);↵ | | |
|
13 | ↵ | | 10 | topic) {↵
|
| | | 11 | setProperty(TOPIC, topic);↵
|
14 | }↵ | | 12 | }↵
|
|
15 | /**↵ | | 13 | /**↵
|
16 | * Get the file location of the xml file.↵ | | 14 | * return the ↵
|
17 | ↵ | | 15 | topic used for the benchmark↵
|
18 | *↵ | | 16 | * ↵
|
19 | * @return String file path.↵ | | 17 | * @return ↵
|
20 | ↵ | | 18 | the topic↵
|
21 | */↵ | | 19 | */↵
|
22 | public String getXmlFile() {↵ | | 20 | public String get↵
|
23 | ↵ | | 21 | Topic() {↵
|
24 | return getPropertyAsString(XML_DATA_FILE);↵ | | 22 | return getPropertyAsString(↵
|
25 | | | 23 | TOPIC);↵
|
| | | 24 |
|