CreateSession Method
Creates a new session with the given name.
Syntax
async amqp.createSession(name : string): Promise<void>
Remarks
This method creates a new session with the given Name and adds it to the Session* properties. If a session with the given Name already exists, an error will be thrown.
AMQP 1.0's transport protocol has three layers: an overarching connection between two containers, the sessions opened on that connection, and the links (between the containers' nodes) attached to those sessions.