@Import(value=InMemoryChannelTestConfiguration.class) public class InMemoryMessageQueueTestConfiguration extends java.lang.Object
InMemoryMessageQueueTestConfiguration can be activated by importing it
into some other Configuration class:
@Configuration
@ImportAutoConfiguration(InMemoryMessageQueueTestConfiguration.class)
public class MyTestConfig {
// ...
}
| Constructor and Description |
|---|
InMemoryMessageQueueTestConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
de.otto.synapse.endpoint.receiver.MessageQueueReceiverEndpointFactory |
messageQueueReceiverEndpointFactory(InMemoryChannels inMemoryChannels) |
de.otto.synapse.endpoint.sender.MessageSenderEndpointFactory |
messageQueueSenderEndpointFactory(de.otto.synapse.endpoint.MessageInterceptorRegistry interceptorRegistry,
InMemoryChannels inMemoryChannels) |
public InMemoryMessageQueueTestConfiguration()
@Bean
public de.otto.synapse.endpoint.sender.MessageSenderEndpointFactory messageQueueSenderEndpointFactory(de.otto.synapse.endpoint.MessageInterceptorRegistry interceptorRegistry,
InMemoryChannels inMemoryChannels)
@Bean public de.otto.synapse.endpoint.receiver.MessageQueueReceiverEndpointFactory messageQueueReceiverEndpointFactory(InMemoryChannels inMemoryChannels)