This topic has not yet been rated - Rate this topic

BrokeredMessage.MessageReceipt Property

Gets the message receipt.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)
public MessageReceipt MessageReceipt { get; }

Property Value

Type: Microsoft.ServiceBus.Messaging.MessageReceipt
A message receipt.

Sometimes consumer receives a message (or a set of messages) from the message server that it can’t process right away. This can happen if the messages arrive in the queue in different order than the application expects them. Also, sometimes application wants to accumulate messages until the last message arrives (or until a certain number of messages arrive or until there is a period of inactivity). In such cases, application can simply record the message information and ask message server to defer it. When it’s ready to process the message, it can fetch the deferred message from the container and process them.

Did you find this helpful?
(1500 characters remaining)