1 | void setTopic(String topic) {↵ | | 1 | void setRegex(String regex) {↵
|
2 | setProperty(TOPIC, topic);↵ | | 2 | setProperty(↵
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * return the topic used for the benchmark↵ | | |
|
6 | * ↵ | | |
|
7 | * @return the topic↵ | | |
|
8 | */↵ | | 3 | REGEX, regex);↵
|
| | | 4 | }↵
|
|
9 | public String getTopic() {↵ | | 5 | public String getRegex() {↵
|
10 | return getPropertyAsString(TOPIC);↵ | | 6 | return getPropertyAsString(REGEX);↵
|
11 | }↵ | | 7 | }↵
|
|
12 | /**↵ | | |
|
13 | * set the username to login into the jms server if needed↵ | | |
|
14 | * ↵ | | |
|
15 | * @param user↵ | | |
|
16 | */↵ | | |
|
17 | public void setUsername(String user) {↵ | | 8 | public void setRefName(String refName) {↵
|
18 | setProperty(PRINCIPAL, user);↵ | | 9 | setProperty(↵
|
19 | }↵ | | |
|
|
20 | /**↵ | | |
|
21 | * return the username used to login to the jms server↵ | | |
|
22 | * ↵ | | |
|
23 | * @return the username used to login to the jms server↵ | | |
|
24 | */↵ | | 10 | REFNAME, refName);↵
|
| | | 11 | }↵
|
|
25 | public String getUsername() {↵ | | 12 | public String getRefName() {↵
|
26 | return getPropertyAsString(PRINCIPAL);↵ | | 13 | return getPropertyAsString(REFNAME);↵
|
27 | } | | 14 | }
|