Class BatchResequencerConfig


  • @Metadata(label="configuration,eip")
    public class BatchResequencerConfig
    extends ResequencerConfig
    Configures batch-processing resequence eip.
    • Constructor Detail

      • BatchResequencerConfig

        public BatchResequencerConfig()
        Creates a new BatchResequencerConfig instance using default values for batchSize (100) and batchTimeout (1000L).
      • BatchResequencerConfig

        public BatchResequencerConfig​(int batchSize,
                                      long batchTimeout)
        Creates a new BatchResequencerConfig instance using the given values for batchSize and batchTimeout.
        Parameters:
        batchSize - size of the batch to be re-ordered.
        batchTimeout - timeout for collecting elements to be re-ordered.
    • Method Detail

      • getBatchSize

        public String getBatchSize()
      • setBatchSize

        public void setBatchSize​(String batchSize)
        Sets the size of the batch to be re-ordered. The default size is 100.
      • getBatchTimeout

        public String getBatchTimeout()
      • setBatchTimeout

        public void setBatchTimeout​(String batchTimeout)
        Sets the timeout for collecting elements to be re-ordered. The default timeout is 1000 msec.
      • getAllowDuplicates

        public String getAllowDuplicates()
      • setAllowDuplicates

        public void setAllowDuplicates​(String allowDuplicates)
        Whether to allow duplicates.
      • getReverse

        public String getReverse()
      • setReverse

        public void setReverse​(String reverse)
        Whether to reverse the ordering.
      • getIgnoreInvalidExchanges

        public String getIgnoreInvalidExchanges()
      • setIgnoreInvalidExchanges

        public void setIgnoreInvalidExchanges​(String ignoreInvalidExchanges)
        Whether to ignore invalid exchanges