Uses of Interface
org.springframework.amqp.rabbit.batch.BatchingStrategy
Package
Description
Provides classes for message batching.
Provides classes supporting the Rabbit XML namespace.
Provides core classes for Spring Rabbit.
Provides classes for message listener containers.
Provides classes for adapting listeners.
-
Uses of BatchingStrategy in org.springframework.amqp.rabbit.batch
Modifier and TypeClassDescriptionclass
A simple batching strategy that supports only one exchange/routingKey; includes a batch size, a batched message size limit and a timeout. -
Uses of BatchingStrategy in org.springframework.amqp.rabbit.config
Modifier and TypeMethodDescriptionvoid
AbstractRabbitListenerContainerFactory.setBatchingStrategy
(BatchingStrategy batchingStrategy) Set aBatchingStrategy
to use when debatching messages. -
Uses of BatchingStrategy in org.springframework.amqp.rabbit.core
ModifierConstructorDescriptionBatchingRabbitTemplate
(BatchingStrategy batchingStrategy, TaskScheduler scheduler) Create an instance with the supplied parameters.BatchingRabbitTemplate
(ConnectionFactory connectionFactory, BatchingStrategy batchingStrategy, TaskScheduler scheduler) Create an instance with the supplied parameters. -
Uses of BatchingStrategy in org.springframework.amqp.rabbit.listener
Modifier and TypeMethodDescriptionprotected BatchingStrategy
AbstractMessageListenerContainer.getBatchingStrategy()
AbstractRabbitListenerEndpoint.getBatchingStrategy()
default BatchingStrategy
RabbitListenerEndpoint.getBatchingStrategy()
Return this endpoint's batching strategy, or null.Modifier and TypeMethodDescriptionMethodRabbitListenerEndpoint.AdapterProvider.getAdapter
(boolean batch, Object bean, Method method, boolean returnExceptions, RabbitListenerErrorHandler errorHandler, BatchingStrategy batchingStrategy) Get an adapter instance.void
AbstractMessageListenerContainer.setBatchingStrategy
(BatchingStrategy batchingStrategy) Set a batching strategy to use when de-batching messages.void
AbstractRabbitListenerEndpoint.setBatchingStrategy
(BatchingStrategy batchingStrategy) default void
RabbitListenerEndpoint.setBatchingStrategy
(BatchingStrategy batchingStrategy) Set aBatchingStrategy
to use when debatching messages. -
Uses of BatchingStrategy in org.springframework.amqp.rabbit.listener.adapter
ModifierConstructorDescriptionBatchMessagingMessageListenerAdapter
(Object bean, Method method, boolean returnExceptions, RabbitListenerErrorHandler errorHandler, BatchingStrategy batchingStrategy)