1 | void setConnectionFactory(String factory) {↵ | | 1 | void setRequestData(String newRequestData) {↵
|
2 | setProperty(CONN_FACTORY, factory);↵ | | 2 | this.setProperty(↵
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * return the connection factory parameter used to lookup the connection↵ | | |
|
6 | * factory from the JMS server↵ | | |
|
7 | * ↵ | | |
|
8 | * @return the connection factory↵ | | |
|
9 | */↵ | | 3 | REQUEST, newRequestData);↵
|
| | | 4 | }↵
|
|
10 | public String getConnectionFactory() {↵ | | 5 | public String getRequestData() {↵
|
11 | return getPropertyAsString(CONN_FACTORY);↵ | | 6 | return getPropertyAsString(↵
|
12 | }↵ | | |
|
|
13 | /**↵ | | |
|
14 | * set the topic↵ | | |
|
15 | * ↵ | | |
|
16 | * @param topic↵ | | |
|
17 | */↵ | | 7 | REQUEST);↵
|
| | | 8 | }↵
|
|
18 | public void setTopic(String topic) {↵ | | 9 | public void setTimeout(String newTimeout) {↵
|
19 | setProperty(TOPIC, topic);↵ | | 10 | this.setProperty(FILENAME, newTimeout);↵
|
20 | } | | 11 | }
|