Class CompactionAutoConfiguration

java.lang.Object
de.otto.synapse.configuration.aws.CompactionAutoConfiguration

@Configuration
@EnableConfigurationProperties(CompactionProperties.class)
@Import(S3SnapshotAutoConfiguration.class)
public class CompactionAutoConfiguration
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    CompactionAutoConfiguration()  
  • Method Summary

    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 Details

  • Method Details

    • 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)