de.otto.synapse.configuration.MessageLogReceiverEndpointAutoConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of synapse-core Show documentation
Show all versions of synapse-core Show documentation
A library used at otto.de to implement Spring Boot based event-sourcing microservices.
package de.otto.synapse.configuration;
import de.otto.synapse.annotation.MessageLogConsumerBeanPostProcessor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.Role;
import static org.springframework.beans.factory.config.BeanDefinition.ROLE_INFRASTRUCTURE;
@Import(SynapseAutoConfiguration.class)
public class MessageLogReceiverEndpointAutoConfiguration {
@Bean
@Role(ROLE_INFRASTRUCTURE)
public static MessageLogConsumerBeanPostProcessor messageLogConsumerAnnotationBeanPostProcessor() {
return new MessageLogConsumerBeanPostProcessor();
}
}