All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.otto.synapse.configuration.InMemoryChannelTestConfiguration Maven / Gradle / Ivy

package de.otto.synapse.configuration;

import de.otto.synapse.channel.InMemoryChannels;
import de.otto.synapse.endpoint.MessageInterceptorRegistry;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.context.annotation.Bean;

public class InMemoryChannelTestConfiguration {

    @Bean
    public InMemoryChannels inMemoryChannels(final MessageInterceptorRegistry interceptorRegistry,
                                             final ApplicationEventPublisher eventPublisher) {
        return new InMemoryChannels(interceptorRegistry, eventPublisher);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy