Skip to content

MessagingOptions Properties

Specifies global messaging options that are common to client and silo.

DropExpiredMessages

getset
View source
public bool DropExpiredMessages
Gets or sets a value indicating whether messages should be dropped once they expire, that is if it was not delivered to the destination before it has timed out on the sender.

Property value

Messages are dropped once they expire, by default.

MaxMessageBodySize

getset
View source
public int MaxMessageBodySize
The maximum size, in bytes, of the body for a message. The runtime will forcibly close the connection if the body size is greater than this value.

Property value

The maximum message body size is 100 MB by default.

MaxMessageHeaderSize

getset
View source
public int MaxMessageHeaderSize
The maximum size, in bytes, of the header for a message. The runtime will forcibly close the connection if the header size is greater than this value.

Property value

The maximum message header size is 10 MB by default.

ResponseTimeout

getset
View source
public TimeSpan ResponseTimeout
Gets or sets the default timeout before a request is assumed to have failed.

Property value

Requests will timeout after 30 seconds by default.

WaitForCancellationAcknowledgement

getset
View source
public bool WaitForCancellationAcknowledgement
Whether local calls should be cancelled immediately when cancellation is signaled (false) rather than waiting for callees to acknowledge cancellation before a call is considered cancelled (true).