code: public AmqpChannel openChannel() {
          int id = ++this.channelCount;
          AmqpChannel chan = new AmqpChannel(id, this);
          channels.put(id, chan);
          return chan;
      }
docs: Opens a channel on server.
  
  @return AmqpChannel