OverflowPolicy Enumeration

Specifies the handling of messages for the MessageBufferPolicy in case the buffer reached capacity and the BufferTimeout expired.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

[DataContractAttribute(Name = "OverflowPolicy", Namespace = "http://schemas.microsoft.com/netservices/2009/05/servicebus/connect")]
public enum OverflowPolicy

Member nameDescription
RejectIncomingMessageRejects the incoming message by faulting back to the sender.

Windows Azure Service Bus supports only Full Trust code access security.

Currently, the only option is to reject the incoming message.

When a message buffer gets full, the message is held for a time period as specified in the send operation time-out. When the time-out expires and the message buffer is still full, the action is taken based on the OverFlow Policy setting.

Community Additions