1 | String getTopic() {↵ | | 1 | String getXmlPathLoc() {↵
|
2 | return getPropertyAsString(TOPIC);↵ | | 2 | return getPropertyAsString(XML_PATH_LOC);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * set the username to login into the jms server if needed↵ | | 5 | * it's kinda obvious, but we state it anyways. Set the xml file with a↵
|
| | | 6 | * string path.↵
|
6 | * ↵ | | 7 | * ↵
|
7 | * @param user↵ | | 8 | * @param filename↵
|
8 | */↵ | | 9 | */↵
|
9 | public void setUsername(String user) {↵ | | 10 | public void setXmlFile(String filename) {↵
|
10 | setProperty(PRINCIPAL, user);↵ | | 11 | setProperty(XML_DATA_FILE, filename);↵
|
11 | }↵ | | 12 | }↵
|
|
12 | /**↵ | | 13 | /**↵
|
13 | * return the username used to login to the jms server↵ | | 14 | * Get the ↵
|
14 | * ↵ | | |
|
15 | * @return the username used to login to the jms server↵ | | 15 | file location of the xml file.↵
|
| | | 16 | * ↵
|
| | | 17 | * @return String file path.↵
|
16 | */↵ | | 18 | */↵
|
17 | public String getUsername() {↵ | | 19 | public String getXmlFile() {↵
|
18 | return getPropertyAsString(PRINCIPAL);↵ | | 20 | return getPropertyAsString(XML_DATA_FILE);↵
|
19 | } | | 21 | }
|