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