1 | String getUsername() {↵ | | 1 | String getConfigChoice() {↵
|
2 | return getPropertyAsString(PRINCIPAL);↵ | | 2 | return getPropertyAsString(CONFIG_CHOICE);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Set the password to login to the jms server↵ | | 5 | * set the source of the message↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @param pwd↵ | | 7 | * @param choice↵
|
8 | */↵ | | 8 | */↵
|
9 | public void setPassword(String pwd) {↵ | | 9 | public void setMessageChoice(String choice) {↵
|
10 | setProperty(CREDENTIALS, pwd);↵ | | 10 | setProperty(MESSAGE_CHOICE, choice);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * return the password used to login to the jms server↵ | | 13 | * return the ↵
|
14 | * ↵ | | |
|
15 | * @return the password used to login to the jms server↵ | | 14 | source of the message↵
|
| | | 15 | * ↵
|
16 | */↵ | | 16 | */↵
|
17 | public String getPassword() {↵ | | 17 | public String getMessageChoice() {↵
|
18 | return getPropertyAsString(CREDENTIALS);↵ | | 18 | return getPropertyAsString(MESSAGE_CHOICE);↵
|
19 | } | | 19 | }
|