1 | String getTopic() {↵ | | 1 | String getConnectionFactory() {↵
|
2 | return getPropertyAsString(TOPIC);↵ | | 2 | return getPropertyAsString(CONN_FACTORY);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * set the username to login into the jms server if needed↵ | | 5 | * set the topic↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @param user↵ | | 7 | * @param topic↵
|
8 | */↵ | | 8 | */↵
|
9 | public void setUsername(String user) {↵ | | 9 | public void setTopic(String topic) {↵
|
10 | setProperty(PRINCIPAL, user);↵ | | 10 | setProperty(TOPIC, topic);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * return the username used to login to the jms server↵ | | 13 | * return the ↵
|
14 | * ↵ | | |
|
15 | * @return the username used to login to the jms server↵ | | 14 | topic used for the benchmark↵
|
| | | 15 | * ↵
|
| | | 16 | * @return the topic↵
|
16 | */↵ | | 17 | */↵
|
17 | public String getUsername() {↵ | | 18 | public String getTopic() {↵
|
18 | return getPropertyAsString(PRINCIPAL);↵ | | 19 | return getPropertyAsString(TOPIC);↵
|
19 | } | | 20 | }
|