533534535536537538539540541542543
//Ok - it is illegal to have more than one active subscriber on a subscrtiption at any one time } dursub1.close(); s.unsubscribe("dursub1"); } finally { if (conn != null) {
572573574575576577578579580581582
assertNotNull(m); assertTrue(m instanceof TextMessage); subscriber.close(); s.unsubscribe(".subscription.name.with.periods."); } finally { if (conn != null) {
396397398399400401402403404405406
sub3.close(); sess.unsubscribe("sub1"); sess.unsubscribe("sub2"); sess.unsubscribe("sub3"); } finally
398399400401402403404405406407408
sess.unsubscribe("sub1"); sess.unsubscribe("sub2"); sess.unsubscribe("sub3"); } finally { ServerManagement.undeployQueue("ExpiryQueue");
394395396397398399400401402403404
sub2.close(); sub3.close(); sess.unsubscribe("sub1"); sess.unsubscribe("sub2"); sess.unsubscribe("sub3");
560561562563564565566567568569570
} cons1.close(); cons2.close(); cons3.close(); sess.unsubscribe("sub1"); counters = (List) ServerManagement.getAttribute(ServerManagement.getServerPeerObjectName(), "MessageCounters"); assertNotNull(counters);
16781679168016811682168316841685168616871688
assertEquals("message" + i, tm.getText()); } cons.close(); session.unsubscribe("mysub1"); } finally { if (conn != null) {
18631864186518661867186818691870187118721873
16511652165316541655165616571658165916601661
assertNull(m); cons2.close(); sess2.unsubscribe("mysub1"); } finally { if (conn0 != null) {
709710711712713714715716717718719
sess1.unsubscribe("beta"); } catch (Exception ignore) {} try { sess2.unsubscribe("gamma"); } catch (Exception ignore) {} try { sess0.unsubscribe("delta");