NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Message Queue Journal Storage

Journal queues allow you to save copies of messages as they are processed. You can store copies of the messages you send from your computer in the local machine journal queue, or you can store copies of messages removed from a queue in that queue's journal on the server.

Journal storage can be useful if you need to re-send a message at a later point. For example, suppose you send a message to a queue and then receive negative acknowledgment that it could not be delivered. Acknowledgment messages do not contain the body of the original message; instead they give you some header information and a correlation ID that corresponds to the original message. If you have journal recording turned on, you can use this correlation ID to locate the original message in your machine's journal queue, recreate the message object, and resend it.

Note   You can use the ReceivebyCorrelationID or the PeekbyCorrelationID methods to retrieve a message by its correlation ID.

There are a few caveats you should note about journal queues:

For instructions on setting up journal storage for your messages, see Storing Messages in a Journal Queue.

See Also

Sending and Serializing Messages | Storing Messages in a Journal Queue | Purging a Queue’s Contents