Class CompactionAutoConfiguration

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CompactionService compactionService​(SnapshotWriteService snapshotWriteService, de.otto.synapse.state.StateRepository<java.lang.String> compactionStateRepository, de.otto.synapse.endpoint.receiver.MessageLogReceiverEndpointFactory messageLogReceiverEndpointFactory, de.otto.synapse.messagestore.MessageStoreFactory<? extends de.otto.synapse.messagestore.MessageStore> messageStoreFactory)  
      de.otto.synapse.state.StateRepository<java.lang.String> compactionStateRepository()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CompactionAutoConfiguration

        public CompactionAutoConfiguration()
    • Method Detail

      • compactionStateRepository

        @Bean
        @ConditionalOnMissingBean(name="compactionStateRepository")
        public de.otto.synapse.state.StateRepository<java.lang.String> compactionStateRepository()
      • compactionService

        @Bean
        @ConditionalOnMissingBean
        @ConditionalOnProperty(prefix="synapse.compaction",
                               name="enabled",
                               havingValue="true")
        public CompactionService compactionService​(SnapshotWriteService snapshotWriteService,
                                                   de.otto.synapse.state.StateRepository<java.lang.String> compactionStateRepository,
                                                   de.otto.synapse.endpoint.receiver.MessageLogReceiverEndpointFactory messageLogReceiverEndpointFactory,
                                                   de.otto.synapse.messagestore.MessageStoreFactory<? extends de.otto.synapse.messagestore.MessageStore> messageStoreFactory)