net.smartcosmos.events.EventApplication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartcosmos-events Show documentation
Show all versions of smartcosmos-events Show documentation
Message streaming abstraction endpoint for services that do not need to implement clients.
The newest version!
package net.smartcosmos.events;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import net.smartcosmos.annotation.EnableSmartCosmosEvents;
import net.smartcosmos.annotation.EnableSmartCosmosMonitoring;
import net.smartcosmos.annotation.EnableSmartCosmosSecurity;
/**
* Launch class for the Event Service. Receives events through regular service authentication, and deposits them into the event pipeline.
*/
@EnableSmartCosmosEvents
@EnableSmartCosmosSecurity
@EnableSmartCosmosMonitoring
@SpringBootApplication
public class EventApplication {
public static void main(String[] args) {
new SpringApplicationBuilder(EventApplication.class).web(true).run(args);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy