Msdn says: The message also disposes the object that was used to construct the body when it is disposed.
From this what I infer is closing Message also closes the MessageBuffer it is created from. But in actual code this is not the case. Closing message leaves messagebuffer.closed as false.
How message buffer and message created from that buffer should be closed?
source code below will help you understand how to use message created from message buffer.