log.severe("testSubscribeUnSubscribeEmpty() subscribe failed: " + e.getMessage());
fail("testSubscribeUnSubscribeEmpty() subscribe failed: " + e.getMessage());
}
try {
UnSubscribeKey uk = new UnSubscribeKey(glob, subRet.getSubscriptionId());
UnSubscribeQos uq = new UnSubscribeQos(glob);
UnSubscribeReturnQos[] urq = senderConnection.unSubscribe(uk.toXml(), uq.toXml());
log.info("testSubscribeUnSubscribeEmpty() unSubscribed");
assertEquals("Return wrong", 1, urq.length);
assertEquals("SubId wrong", subRet.getSubscriptionId(), urq[0].getSubscriptionId());
}
catch (XmlBlasterException e) {