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