msgList.add(msg);
msg.setTgtName("Localhost_1123");
msg.setSrcName("127.101.1.23_2234");
msgListToCancel.add(msg);
}
executor.onMessage("someInstance", msgList, changeContext);
Thread.sleep(500);
for(int i = 0; i < nMsgs2; i++)
{
// executor.cancelTask(msgListToCancel.get(i), changeContext);
HelixTask task = new HelixTask(msgListToCancel.get(i), changeContext, null, null);