1 | void setPassword(String pwd) {↵ | | 1 | void setMessageChoice(String choice) {↵
|
2 | setProperty(CREDENTIALS, pwd);↵ | | 2 | setProperty(MESSAGE_CHOICE, choice);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * return the password used to login to the jms server↵ | | 5 | * return the ↵
|
6 | * ↵ | | |
|
7 | * @return the password used to login to the jms server↵ | | 6 | source of the message↵
|
| | | 7 | * ↵
|
8 | */↵ | | 8 | */↵
|
9 | public String getPassword() {↵ | | 9 | public String getMessageChoice() {↵
|
10 | return getPropertyAsString(CREDENTIALS);↵ | | 10 | return getPropertyAsString(MESSAGE_CHOICE);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * set the number of iterations the sampler should aggregate↵ | | 13 | * set the input file for the publisher↵
|
14 | * ↵ | | 14 | * ↵
|
15 | * @param count↵ | | 15 | * @param file↵
|
16 | */↵ | | 16 | */↵
|
17 | public void setIterations(String count) {↵ | | 17 | public void setInputFile(String file) {↵
|
18 | setProperty(ITERATIONS, count);↵ | | 18 | setProperty(INPUT_FILE, file);↵
|
19 | | | 19 |
|