1 | String getRandomPath() {↵ | | 1 | String getProviderUrl() {↵
|
2 | return getPropertyAsString(RANDOM_PATH);↵ | | 2 | return getPropertyAsString(PROVIDER_URL);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * set the text for the message↵ | | 5 | * set the connection factory for↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @param message↵ | | 7 | * @param factory↵
|
8 | */↵ | | 8 | */↵
|
9 | public void setTextMessage(String message) {↵ | | 9 | public void setConnectionFactory(String factory) {↵
|
10 | setProperty(TEXT_MSG, message);↵ | | 10 | setProperty(CONN_FACTORY, factory);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * return the text for the message↵ | | 13 | * return the ↵
|
14 | * ↵ | | 14 | connection factory parameter used to lookup the connection↵
|
| | | 15 | * factory from the JMS server↵
|
| | | 16 | * ↵
|
| | | 17 | * @return the connection factory↵
|
15 | */↵ | | 18 | */↵
|
16 | public String getTextMessage() {↵ | | 19 | public String getConnectionFactory() {↵
|
17 | return getPropertyAsString(TEXT_MSG);↵ | | 20 | return getPropertyAsString(CONN_FACTORY);↵
|
18 | | | 21 |
|