1 | String getFailure(){↵ | | 1 | String getQueueConnectionFactory() {↵
|
2 | return getPropertyAsString(FAILURE);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * set the failure message↵ | | |
|
6 | * @param fail↵ | | |
|
7 | */↵ | | |
|
8 | public void setFailure(String fail){↵ | | |
|
9 | setProperty(FAILURE,fail);↵ | | |
|
10 | }↵ | | |
|
11 | ↵ | | |
|
12 | /**↵ | | |
|
13 | * The failure code is used by other components↵ | | |
|
14 | */↵ | | |
|
15 | ↵ | | 3 | QUEUE_CONNECTION_FACTORY_JNDI);↵
|
| | | 4 | }↵
|
|
| | | 5 | public void setQueueConnectionFactory(String qcf) {↵
|
| | | 6 | setProperty(QUEUE_CONNECTION_FACTORY_JNDI, qcf);↵
|
| | | 7 | }↵
|
|
16 | public String getFailureCode(){↵ | | 8 | public String getSendQueue() {↵
|
17 | return getPropertyAsString(FAILURECODE);↵ | | 9 | return getPropertyAsString(↵
|
18 | }↵ | | |
|
19 | ↵ | | |
|
20 | /**↵ | | |
|
21 | * Provide some unique code to denote a type of failure↵ | | |
|
22 | * @param code↵ | | |
|
23 | */↵ | | |
|
24 | ↵ | | 10 | SEND_QUEUE);↵
|
| | | 11 | }↵
|
|
25 | public void setFailureCode(String code){↵ | | 12 | public void setSendQueue(String name) {↵
|
26 | setProperty(FAILURECODE,code);↵ | | 13 | setProperty(SEND_QUEUE, name);↵
|
27 | }↵ | | 14 | }↵
|
|
28 | /**↵ | | |
|
29 | * return the descriptive error for the test↵ | | |
|
30 | */↵ | | |
|
31 | public String getError(){↵ | | 15 | public String getReceiveQueue() {↵
|
32 | return getPropertyAsString(ERROR);↵ | | 16 | return getPropertyAsString(↵
|
33 | | | 17 | RECEIVE_QUEUE);↵
|
| | | 18 |
|