de.otto.synapse.annotation.EnableEventSourcing 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.annotation;
import de.otto.synapse.configuration.EventSourcingAutoConfiguration;
import de.otto.synapse.eventsource.EventSource;
import org.springframework.context.annotation.Import;
import java.lang.annotation.*;
/**
* Enables auto-configuration of {@link EventSource event sources} for applications that do not use
* annotation-based configuration of event sources using {@link EnableEventSource}.
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(EventSourcingAutoConfiguration.class)
public @interface EnableEventSourcing {
}