Book Image

Robust Cloud Integration with Azure

By : Gyanendra Kumar Gautam, Ashish Bhambhani, Abhishek Kumar, James Corbould, Mahindra Morar, Martin Abbott
Book Image

Robust Cloud Integration with Azure

By: Gyanendra Kumar Gautam, Ashish Bhambhani, Abhishek Kumar, James Corbould, Mahindra Morar, Martin Abbott

Overview of this book

Any software developers, architects, and technical managers lookng to learn about Azure IaaS essentials need look no further. This book is ideal for Microsoft Enterprise developers, DevOps or any IT professionals looking to connect cloud-based and on-premises systems with Azure.
Table of Contents (23 chapters)
Robust Cloud Integration with Azure
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

Deferring message processing


Deferring messages allows the processing of higher priority messages first and then servicing the lower priority messages at a later time.

To use this feature, the receive mode must set to PeekLock. The client receiving the message then has the option to mark the message as being deferred. When the client marks the message to be deferred, they must keep track of the message sequence number in a durable store to be retrieved later.

When a message has been deferred, it will stay in the queue until it is retrieved and the Complete() method has been called. The message will also be removed from the Queue if a message TTL expiry timeout occurs.

The message is read from the queue using the QueueClient class available in the Azure Service Bus SDK and passing the message sequence number that was persisted previously.