Edit

Share via


IMessagingConfiguration Interface

Definition

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

public interface IMessagingConfiguration
type IMessagingConfiguration = interface
Public Interface IMessagingConfiguration
Derived

Properties

BufferPoolBufferSize

The size of a buffer in the messaging buffer pool.

BufferPoolMaxSize

The maximum size of the messaging buffer pool.

BufferPoolPreallocationSize

The initial size of the messaging buffer pool that is pre-allocated.

ClientDropTimeout

This is the period of time a gateway will wait before dropping a disconnected client.

ClientSenderBuckets

The ClientSenderBuckets attribute specifies the total number of grain buckets used by the client in client-to-gateway communication protocol. In this protocol, grains are mapped to buckets and buckets are mapped to gateway connections, in order to enable stickiness of grain to gateway (messages to the same grain go to the same gateway, while evenly spreading grains across gateways). This number should be about 10 to 100 times larger than the expected number of gateway connections. If this attribute is not specified, then Math.Pow(2, 13) is used.

DropExpiredMessages

The DropExpiredMessages attribute specifies whether the message should be dropped if it has expired, that is if it was not delivered to the destination before it has timed out on the sender. Default is true.

FallbackSerializationProvider

Gets the fallback serializer, used as a last resort when no other serializer is able to serialize an object.

GatewaySenderQueues

The GatewaySenderQueues attribute specifies the number of parallel queues and attendant threads used by the silo Gateway to send outbound messages (requests, responses, and notifications) to clients that are connected to it. If this attribute is not specified, then System.Environment.ProcessorCount is used.

LargeMessageWarningThreshold

The LargeMessageWarningThreshold attribute specifies when to generate a warning trace message for large messages.

MaxResendCount

The MaxResendCount attribute specifies the maximal number of resends of the same message.

MaxSocketAge

The MaxSocketAge attribute specifies how long to keep an open socket before it is closed. Default is TimeSpan.MaxValue (never close sockets automatically, unles they were broken).

MaxSockets

The MaxSockets attribute defines the muximum number of TCP sockets a silo would keep open at any point in time. When the limit is reached, least recently used sockets will be closed to keep the number of open sockets below the limit.

OpenConnectionTimeout

The OpenConnectionTimeout attribute specifies the timeout before a connection open is assumed to have failed

ResendOnTimeout

The ResendOnTimeout attribute specifies whether the message should be automaticaly resend by the runtime when it times out on the sender. Default is false.

ResponseTimeout

The ResponseTimeout attribute specifies the default timeout before a request is assumed to have failed.

SerializationProviders

The list of serialization providers

SiloSenderQueues

The SiloSenderQueues attribute specifies the number of parallel queues and attendant threads used by the silo to send outbound messages (requests, responses, and notifications) to other silos. If this attribute is not specified, then System.Environment.ProcessorCount is used.

Applies to