[Response body]
{
"QueuePool": [
{
"nodeName": "NODE_1",
"dynamicQueueList": "SAMPLE1"
},
{
"nodeName": "NODE_2",
"dynamicQueueList": "SAMPLE5"
}
]
}
-----------------------
[Java]
public QueuePoolList getAllQueuePool() {
QueuePoolList list = new QueuePoolList();
QueuePool queuePoolVO1 = new QueuePool();
queuePoolVO1.setNodeName("NODE_1");
queuePoolVO1.setDynamicQueueList("EVMQ.DX.EQP.SAMPLE1,EVMQ.DX.EQP.SAMPLE2,EVMQ.DX.EQP.SAMPLE3");
QueuePool queuePoolVO2 = new QueuePool();
queuePoolVO2.setNodeName("NODE_2");
queuePoolVO2.setDynamicQueueList("EVMQ.DX.EQP.SAMPLE5,EVMQ.DX.EQP.SAMPLE6");
QueuePool[] pools = new QueuePool[2];
pools[0] = queuePoolVO1;
pools[1] = queuePoolVO2;
list.setQueuePool(pools);
return list;
}
------------------
package com.tibco.qmm.vo;
import java.io.Serializable;
public class QueuePool implements Serializable{
private String nodeName;
private String dynamicQueueList;
public String getNodeName() {
return nodeName;
}
public void setNodeName(String nodeName) {
this.nodeName = nodeName;
}
public String getDynamicQueueList() {
return dynamicQueueList;
}
public void setDynamicQueueList(String dynamicQueueList) {
this.dynamicQueueList = dynamicQueueList;
}
}
EMS driver install error on BW6 (0) | 2020.07.31 |
---|---|
Error In bwagent register to TEA (0) | 2020.07.15 |
BW 6.6.1 JMS Sender test (0) | 2020.06.05 |
javax.xml.xpath with BW6 (0) | 2020.05.31 |
Memory Saving mode (0) | 2020.05.26 |
댓글 영역