1 | void setConnectionFactory(String factory) {↵ | | 1 | void set↵
|
2 | ↵ | | 2 | XPathQuery(String val){↵
|
3 | setProperty(CONN_FACTORY, factory);↵ | | 3 | setProperty(↵
|
4 | }↵ | | |
|
|
5 | /**↵ | | |
|
6 | * return the connection factory parameter used to lookup the connection↵ | | |
|
7 | * factory from the JMS server↵ | | |
|
8 | * ↵ | | |
|
9 | * @return the connection factory↵ | | |
|
10 | */↵ | | |
|
11 | ↵ | | 4 | XPATH_QUERY,val); ↵
|
| | | 5 | }↵
|
| | | 6 | ↵
|
12 | public String getConnectionFactory() {↵ | | 7 | public String getXPathQuery(){↵
|
13 | return getPropertyAsString(CONN_FACTORY);↵ | | 8 | return getPropertyAsString(↵
|
14 | }↵ | | |
|
|
15 | /**↵ | | |
|
16 | * set the topic↵ | | |
|
17 | * ↵ | | |
|
18 | * @param topic↵ | | |
|
19 | */↵ | | 9 | XPATH_QUERY);↵
|
| | | 10 | }↵
|
| | | 11 | ↵
|
20 | public void setTopic(String topic) {↵ | | 12 | public void setRefName(String refName) {↵
|
21 | setProperty(TOPIC, topic);↵ | | 13 | setProperty(↵
|
22 | }↵ | | |
|
|
23 | /**↵ | | |
|
24 | * return the topic used for the benchmark↵ | | |
|
25 | * ↵ | | |
|
26 | * @return the topic↵ | | |
|
27 | */↵ | | 14 | REFNAME, refName);↵
|
| | | 15 | }↵
|
|
28 | public String getTopic() {↵ | | 16 | public String getRefName() {↵
|
29 | return getPropertyAsString(TOPIC);↵ | | 17 | return getPropertyAsString(REFNAME);↵
|
30 | | | 18 |
|