@Configuration
public class AkkaStreamingConfiguration
extends java.lang.Object
AkkaSourceProvidingService on which Akka sources can be registered
which either are materialized directly, or at discovery time.
The ActorSystem is created with the name DEFAULT_ACTOR_SYSTEM_NAME| Constructor and Description |
|---|
AkkaStreamingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
akka.stream.ActorMaterializer |
actorMaterializer(akka.actor.ActorSystem actorSystem) |
akka.actor.ActorSystem |
actorSystem() |
AkkaStreamFactory |
akkaSourceProvidingService(akka.stream.Materializer materializer) |
@Bean(destroyMethod="terminate") public akka.actor.ActorSystem actorSystem()
@Bean(destroyMethod="shutdown") public akka.stream.ActorMaterializer actorMaterializer(akka.actor.ActorSystem actorSystem)
@Bean public AkkaStreamFactory akkaSourceProvidingService(akka.stream.Materializer materializer)