1 | void setXPathQuery(String val){↵ | | 1 | void set↵
|
2 | ↵ | | 2 | ConnectionFactory(String factory) {↵
|
3 | setProperty(XPATH_QUERY,val); ↵ | | 3 | setProperty(↵
|
4 | }↵ | | |
|
5 | ↵ | | |
|
6 | ↵ | | 4 | CONN_FACTORY, factory);↵
|
| | | 5 | }↵
|
|
| | | 6 | /**↵
|
| | | 7 | * return the connection factory parameter used to lookup the connection↵
|
| | | 8 | * factory from the JMS server↵
|
| | | 9 | * ↵
|
| | | 10 | * @return the connection factory↵
|
| | | 11 | */↵
|
7 | public String getXPathQuery(){↵ | | 12 | public String getConnectionFactory() {↵
|
8 | return getPropertyAsString(XPATH_QUERY);↵ | | 13 | return getPropertyAsString(↵
|
9 | }↵ | | |
|
10 | ↵ | | 14 | CONN_FACTORY);↵
|
| | | 15 | }↵
|
|
| | | 16 | /**↵
|
| | | 17 | * set the topic↵
|
| | | 18 | * ↵
|
| | | 19 | * @param topic↵
|
| | | 20 | */↵
|
11 | public void setRefName(String refName) {↵ | | 21 | public void setTopic(String topic) {↵
|
12 | setProperty(REFNAME, refName);↵ | | 22 | setProperty(TOPIC, topic);↵
|
13 | } | | 23 | }
|