Table of Contents

Class RoundRobinLoadBalancingStrategy

Namespace
Steeltoe.Integration.Dispatcher
Assembly
Steeltoe.Integration.IntegrationBase.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class RoundRobinLoadBalancingStrategy : ILoadBalancingStrategy
Inheritance
RoundRobinLoadBalancingStrategy
Implements
Inherited Members

Methods

GetNextHandlerStartIndex(IMessage, List<IMessageHandler>)

Gets the next index to be used in selecting a handler from the provided list of handlers

public int GetNextHandlerStartIndex(IMessage message, List<IMessageHandler> handlers)

Parameters

message IMessage

the message to be processed

handlers List<IMessageHandler>

the current list of handlers

Returns

int

an index into the handler list at which to start load balancing