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 Details

    • AbstractBatchingMessageGroupStore

      public AbstractBatchingMessageGroupStore()
  • Method Details

    • setRemoveBatchSize

      public 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
    • getRemoveBatchSize

      public int getRemoveBatchSize()
    • setMessageGroupFactory

      public void setMessageGroupFactory(MessageGroupFactory messageGroupFactory)
      Specify the MessageGroupFactory to create MessageGroup object where it is necessary. Defaults to SimpleMessageGroupFactory.
      Parameters:
      messageGroupFactory - the MessageGroupFactory to use.
      Since:
      4.3
    • getMessageGroupFactory

      protected MessageGroupFactory getMessageGroupFactory()