code: protected Channel createChannel() throws IOException {
          LOGGER.debug("Creating channel");
          Connection connection = connectionFactory.newConnection();
          Channel channel = connection.createChannel();
          LOGGER.debug("Created channel");
          return channel;
      }
docs: Creates a channel to be used for consuming from
  the broker.
  
  @return The channel
  @throws IOException if the channel cannot be created due to a connection problem