1. A system for providing message queues in a middleware machine environment, comprising: one or more microprocessors; a first message control data structure on a message receiver, and a heap data structure in a shared memory that is associated with the message receiver, wherein a message sender, running on the one or more microprocessors, operates to write a message directly into the heap data structure, and maintain metadata associated with the message in the first message control data structure.