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 TypeClassDescriptionclassA 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 TypeMethodDescriptionvoidAbstractRabbitListenerContainerFactory.setBatchingStrategy(BatchingStrategy batchingStrategy) Set aBatchingStrategyto 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 BatchingStrategyAbstractMessageListenerContainer.getBatchingStrategy()@Nullable BatchingStrategyAbstractRabbitListenerEndpoint.getBatchingStrategy()default @Nullable BatchingStrategyRabbitListenerEndpoint.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, @Nullable Object bean, @Nullable Method method, boolean returnExceptions, @Nullable RabbitListenerErrorHandler errorHandler, @Nullable BatchingStrategy batchingStrategy) Get an adapter instance.voidAbstractMessageListenerContainer.setBatchingStrategy(BatchingStrategy batchingStrategy) Set a batching strategy to use when de-batching messages.voidAbstractRabbitListenerEndpoint.setBatchingStrategy(BatchingStrategy batchingStrategy) default voidRabbitListenerEndpoint.setBatchingStrategy(BatchingStrategy batchingStrategy) Set aBatchingStrategyto 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(@Nullable Object bean, @Nullable Method method, boolean returnExceptions, @Nullable RabbitListenerErrorHandler errorHandler, @Nullable BatchingStrategy batchingStrategy)