1 | String getUsername() {↵ | | 1 | String getInputFile() {↵
|
2 | return getPropertyAsString(PRINCIPAL);↵ | | 2 | return getPropertyAsString(INPUT_FILE);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Set the password to login to the jms server↵ | | 5 | * set the random path for the messages↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @param pwd↵ | | 7 | * @param path↵
|
8 | */↵ | | 8 | */↵
|
9 | public void setPassword(String pwd) {↵ | | 9 | public void setRandomPath(String path) {↵
|
10 | setProperty(CREDENTIALS, pwd);↵ | | 10 | setProperty(RANDOM_PATH, path);↵
|
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 | random path for messages↵
|
| | | 15 | * ↵
|
16 | */↵ | | 16 | */↵
|
17 | public String getPassword() {↵ | | 17 | public String getRandomPath() {↵
|
18 | return getPropertyAsString(CREDENTIALS);↵ | | 18 | return getPropertyAsString(RANDOM_PATH);↵
|
19 | } | | 19 | }
|