Table of Contents

Class BatchMessagingMessageListenerAdapter

Namespace
Steeltoe.Messaging.RabbitMQ.Listener.Adapters
Assembly
Steeltoe.Messaging.RabbitMQ.dll
public class BatchMessagingMessageListenerAdapter : MessagingMessageListenerAdapter, IChannelAwareBatchMessageListener, IChannelAwareMessageListener, IMessageListener
Inheritance
BatchMessagingMessageListenerAdapter
Implements
Inherited Members

Constructors

BatchMessagingMessageListenerAdapter(IApplicationContext, object, MethodInfo, bool, IRabbitListenerErrorHandler, IBatchingStrategy, ILogger)

public BatchMessagingMessageListenerAdapter(IApplicationContext context, object bean, MethodInfo method, bool returnExceptions, IRabbitListenerErrorHandler errorHandler, IBatchingStrategy batchingStrategy, ILogger logger = null)

Parameters

context IApplicationContext
bean object
method MethodInfo
returnExceptions bool
errorHandler IRabbitListenerErrorHandler
batchingStrategy IBatchingStrategy
logger ILogger

Methods

CreateList(Type)

protected IList CreateList(Type type)

Parameters

type Type

Returns

IList

CreateMessageList(Type)

protected IList CreateMessageList(Type type)

Parameters

type Type

Returns

IList

OnMessageBatch(List<IMessage>, IModel)

public override void OnMessageBatch(List<IMessage> messages, IModel channel)

Parameters

messages List<IMessage>
channel IModel

ToMessagingMessage(IMessage)

protected IMessage ToMessagingMessage(IMessage amqpMessage)

Parameters

amqpMessage IMessage

Returns

IMessage