1 | void setProviderUrl(String url) {↵ | | 1 | void setMessageChoice(String choice) {↵
|
2 | setProperty(PROVIDER_URL, url);↵ | | 2 | setProperty(MESSAGE_CHOICE, choice);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * method returns the provider url for jndi to connect to↵ | | 5 | * return the ↵
|
6 | * ↵ | | |
|
7 | * @return the provider URL↵ | | 6 | source of the message↵
|
| | | 7 | * ↵
|
8 | */↵ | | 8 | */↵
|
9 | public String getProviderUrl() {↵ | | 9 | public String getMessageChoice() {↵
|
10 | return getPropertyAsString(PROVIDER_URL);↵ | | 10 | return getPropertyAsString(MESSAGE_CHOICE);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * set the connection factory for↵ | | 13 | * set the input file for the publisher↵
|
14 | * ↵ | | 14 | * ↵
|
15 | * @param factory↵ | | 15 | * @param file↵
|
16 | */↵ | | 16 | */↵
|
17 | public void setConnectionFactory(String factory) {↵ | | 17 | public void setInputFile(String file) {↵
|
18 | setProperty(CONN_FACTORY, factory);↵ | | 18 | setProperty(INPUT_FILE, file);↵
|
19 | } | | 19 | }
|