Uses of Interface
org.springframework.amqp.rabbit.batch.BatchingStrategy
Packages that use 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
Classes in org.springframework.amqp.rabbit.batch that implement BatchingStrategyModifier 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
Methods in org.springframework.amqp.rabbit.config with parameters of type BatchingStrategyModifier and TypeMethodDescriptionvoid
AbstractRabbitListenerContainerFactory.setBatchingStrategy
(BatchingStrategy batchingStrategy) Set aBatchingStrategy
to use when debatching messages. -
Uses of BatchingStrategy in org.springframework.amqp.rabbit.core
Constructors in org.springframework.amqp.rabbit.core with parameters of type BatchingStrategyModifierConstructorDescriptionBatchingRabbitTemplate
(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
Methods in org.springframework.amqp.rabbit.listener that return BatchingStrategyModifier and TypeMethodDescriptionprotected BatchingStrategy
AbstractMessageListenerContainer.getBatchingStrategy()
AbstractRabbitListenerEndpoint.getBatchingStrategy()
default BatchingStrategy
RabbitListenerEndpoint.getBatchingStrategy()
Return this endpoint's batching strategy, or null.Methods in org.springframework.amqp.rabbit.listener with parameters of type BatchingStrategyModifier 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
Constructors in org.springframework.amqp.rabbit.listener.adapter with parameters of type BatchingStrategyModifierConstructorDescriptionBatchMessagingMessageListenerAdapter
(Object bean, Method method, boolean returnExceptions, RabbitListenerErrorHandler errorHandler, BatchingStrategy batchingStrategy)