openChannel

abstract suspend fun openChannel(): AMQPChannel

Opens a new channel.

Can be used only when the connection is connected. The channel ID is automatically assigned (next free one).

Return

the opened AMQPChannel