popPendingMessage

Gets the currently enqueued message.

Note: Calling this removes the pending message from Batch's queue. Further calls to this method will return null, until another message gets enqueues.

Return

The enqueued message, if any.