예제 #1
0
 public synchronized void unblock() {
   if (_blocking) {
     _blocking = false;
     for (AMQSessionModel ssn : getSessionModels()) {
       ssn.unblock();
     }
   }
 }
예제 #2
0
 public synchronized void block() {
   if (!_blocking) {
     _blocking = true;
     for (AMQSessionModel ssn : getSessionModels()) {
       ssn.block();
     }
   }
 }