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