1 | String getProviderUrl() {↵ | | 1 | String getConfigChoice() {↵
|
2 | return getPropertyAsString(PROVIDER_URL);↵ | | 2 | return getPropertyAsString(CONFIG_CHOICE);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * set the connection factory for↵ | | 5 | * set the source of the message↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @param factory↵ | | 7 | * @param choice↵
|
8 | */↵ | | 8 | */↵
|
9 | public void setConnectionFactory(String factory) {↵ | | 9 | public void setMessageChoice(String choice) {↵
|
10 | setProperty(CONN_FACTORY, factory);↵ | | 10 | setProperty(MESSAGE_CHOICE, choice);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * return the connection factory parameter used to lookup the connection↵ | | 13 | * return the ↵
|
14 | * factory from the JMS server↵ | | |
|
15 | * ↵ | | |
|
16 | * @return the connection factory↵ | | 14 | source of the message↵
|
| | | 15 | * ↵
|
17 | */↵ | | 16 | */↵
|
18 | public String getConnectionFactory() {↵ | | 17 | public String getMessageChoice() {↵
|
19 | return getPropertyAsString(CONN_FACTORY);↵ | | 18 | return getPropertyAsString(MESSAGE_CHOICE);↵
|
20 | } | | 19 | }
|