1 | String getSuccess(){↵ | | 1 | String getReceiveQueue() {↵
|
2 | return getPropertyAsString(SUCCESS);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
4 | ↵ | | |
|
5 | /**↵ | | |
|
6 | * set the success message↵ | | |
|
7 | * @param success↵ | | |
|
8 | */↵ | | |
|
9 | ↵ | | 3 | RECEIVE_QUEUE);↵
|
| | | 4 | }↵
|
|
10 | public void setSuccess(String success){↵ | | 5 | public void set↵
|
11 | setProperty(SUCCESS,success);↵ | | |
|
12 | }↵ | | |
|
13 | ↵ | | |
|
14 | /**↵ | | |
|
15 | * get the success code defined by the user↵ | | |
|
16 | */↵ | | |
|
17 | ↵ | | 6 | ReceiveQueue(String name) {↵
|
| | | 7 | setProperty(RECEIVE_QUEUE, name);↵
|
| | | 8 | }↵
|
|
18 | public String getSuccessCode(){↵ | | 9 | public String getContent() {↵
|
19 | return getPropertyAsString(SUCCESSCODE);↵ | | 10 | return getPropertyAsString(↵
|
20 | }↵ | | |
|
|
21 | /**↵ | | |
|
22 | * set the succes code. the success code should↵ | | |
|
23 | * be unique.↵ | | |
|
24 | * @param code↵ | | |
|
25 | */↵ | | |
|
26 | ↵ | | 11 | XML_DATA);↵
|
| | | 12 | }↵
|
|
27 | public void setSuccessCode(String code){↵ | | 13 | public void set↵
|
28 | setProperty(SUCCESSCODE,code);↵ | | |
|
29 | ↵ | | 14 | Content(String content) {↵
|
| | | 15 | setProperty(XML_DATA, content);↵
|
30 | } | | 16 | }
|