Class AbstractBatchingMessageGroupStore
java.lang.Object
org.springframework.integration.store.AbstractBatchingMessageGroupStore
- All Implemented Interfaces:
- BasicMessageGroupStore
- Direct Known Subclasses:
- AbstractMessageGroupStore
public abstract class AbstractBatchingMessageGroupStore
extends Object
implements BasicMessageGroupStore
- Since:
- 4.2
- Author:
- Gary Russell, Artem Bilan
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected MessageGroupFactoryintvoidsetMessageGroupFactory(MessageGroupFactory messageGroupFactory) Specify theMessageGroupFactoryto createMessageGroupobject where it is necessary.voidsetRemoveBatchSize(int removeBatchSize) Set the batch size when bulk removing messages from groups for message stores that support batch removal.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.store.BasicMessageGroupStoreaddMessageToGroup, getMessageGroup, messageGroupSize, pollMessageFromGroup, removeMessageGroup
- 
Constructor Details- 
AbstractBatchingMessageGroupStorepublic AbstractBatchingMessageGroupStore()
 
- 
- 
Method Details- 
setRemoveBatchSizepublic void setRemoveBatchSize(int removeBatchSize) Set the batch size when bulk removing messages from groups for message stores that support batch removal. Default 100.- Parameters:
- removeBatchSize- the batch size.
- Since:
- 4.2
 
- 
getRemoveBatchSizepublic int getRemoveBatchSize()
- 
setMessageGroupFactorySpecify theMessageGroupFactoryto createMessageGroupobject where it is necessary. Defaults toSimpleMessageGroupFactory.- Parameters:
- messageGroupFactory- the- MessageGroupFactoryto use.
- Since:
- 4.3
 
- 
getMessageGroupFactory
 
-