@ImportAutoConfiguration(value=InMemoryChannelTestConfiguration.class) public class InMemoryMessageLogTestConfiguration extends java.lang.Object
InMemoryTestConfiguration can be activated by importing it
into some other Configuration class:
@Configuration
@ImportAutoConfiguration(InMemoryMessageLogTestConfiguration.class)
public class MyTestConfig {
// ...
}
| Constructor and Description |
|---|
InMemoryMessageLogTestConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
de.otto.synapse.endpoint.receiver.MessageLogReceiverEndpointFactory |
messageLogReceiverEndpointFactory(InMemoryChannels inMemoryChannels) |
de.otto.synapse.endpoint.sender.MessageSenderEndpointFactory |
messageLogSenderEndpointFactory(de.otto.synapse.endpoint.MessageInterceptorRegistry interceptorRegistry,
InMemoryChannels inMemoryChannels) |
de.otto.synapse.messagestore.MessageStoreFactory<de.otto.synapse.messagestore.SnapshotMessageStore> |
snapshotMessageStoreFactory() |
@Bean
public de.otto.synapse.endpoint.sender.MessageSenderEndpointFactory messageLogSenderEndpointFactory(de.otto.synapse.endpoint.MessageInterceptorRegistry interceptorRegistry,
InMemoryChannels inMemoryChannels)
@Bean public de.otto.synapse.messagestore.MessageStoreFactory<de.otto.synapse.messagestore.SnapshotMessageStore> snapshotMessageStoreFactory()
@Bean public de.otto.synapse.endpoint.receiver.MessageLogReceiverEndpointFactory messageLogReceiverEndpointFactory(InMemoryChannels inMemoryChannels)