1 | String getConfigChoice() {↵ | | 1 | String getProviderUrl() {↵
|
2 | return getPropertyAsString(CONFIG_CHOICE);↵ | | 2 | return getPropertyAsString(PROVIDER_URL);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * set the source of the message↵ | | 5 | * set the connection factory for↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @param choice↵ | | 7 | * @param factory↵
|
8 | */↵ | | 8 | */↵
|
9 | public void setMessageChoice(String choice) {↵ | | 9 | public void setConnectionFactory(String factory) {↵
|
10 | setProperty(MESSAGE_CHOICE, choice);↵ | | 10 | setProperty(CONN_FACTORY, factory);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * return the source of 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 getMessageChoice() {↵ | | 19 | public String getConnectionFactory() {↵
|
17 | return getPropertyAsString(MESSAGE_CHOICE);↵ | | 20 | return getPropertyAsString(CONN_FACTORY);↵
|
18 | | | 21 |
|