1 | String getConfigChoice() {↵ | | 1 | String getTopic() {↵
|
2 | return getPropertyAsString(CONFIG_CHOICE);↵ | | 2 | return getPropertyAsString(TOPIC);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * set the source of the message↵ | | 5 | * set the username to login into the jms server if needed↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @param choice↵ | | 7 | * @param user↵
|
8 | */↵ | | 8 | */↵
|
9 | public void setMessageChoice(String choice) {↵ | | 9 | public void setUsername(String user) {↵
|
10 | setProperty(MESSAGE_CHOICE, choice);↵ | | 10 | setProperty(PRINCIPAL, user);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * return the source of the message↵ | | 13 | * return the ↵
|
14 | * ↵ | | 14 | username used to login to the jms server↵
|
| | | 15 | * ↵
|
| | | 16 | * @return the username used to login to the jms server↵
|
15 | */↵ | | 17 | */↵
|
16 | public String getMessageChoice() {↵ | | 18 | public String getUsername() {↵
|
17 | return getPropertyAsString(MESSAGE_CHOICE);↵ | | 19 | return getPropertyAsString(PRINCIPAL);↵
|
18 | | | 20 |
|