1 | void setConnectionFactory(String factory) {↵ | | 1 | void set↵
|
2 | setProperty(CONN_FACTORY, factory);↵ | | |
|
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 | */↵ | | 2 | DefaultValue(String defaultValue) {↵
|
| | | 3 | setProperty(DEFAULT, defaultValue);↵
|
| | | 4 | }↵
|
|
10 | public String getConnectionFactory() {↵ | | 5 | public String getDefaultValue() {↵
|
11 | return getPropertyAsString(CONN_FACTORY);↵ | | 6 | return getPropertyAsString(↵
|
12 | }↵ | | |
|
|
13 | /**↵ | | |
|
14 | * set the topic↵ | | |
|
15 | * ↵ | | |
|
16 | * @param topic↵ | | |
|
17 | */↵ | | 7 | DEFAULT);↵
|
| | | 8 | }↵
|
|
18 | public void setTopic(String topic) {↵ | | 9 | public void setTemplate(String template) {↵
|
19 | setProperty(TOPIC, topic);↵ | | 10 | setProperty(TEMPLATE, template);↵
|
20 | } | | 11 | }
|