This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| import akka.actor.typed.ActorRef | |
| import akka.actor.typed.Behavior | |
| import akka.actor.typed.javadsl.ActorContext | |
| import akka.actor.typed.javadsl.Behaviors | |
| interface SessionFeatureProvider { | |
| val ctx: ActorContext<*> | |
| } | |
| //Session feature |
| import akka.actor.typed.* | |
| import akka.actor.typed.javadsl.ActorContext | |
| import akka.actor.typed.javadsl.AskPattern | |
| import akka.actor.typed.javadsl.Behaviors | |
| import akka.actor.typed.receptionist.Receptionist | |
| import akka.actor.typed.receptionist.ServiceKey | |
| import akka.japi.function.Function | |
| import kotlinx.coroutines.future.await | |
| import kotlinx.coroutines.runBlocking | |
| import org.springframework.context.annotation.Bean |
| package hms.test.springakkaintegration.akka | |
| import akka.actor.typed.* | |
| import akka.actor.typed.javadsl.ActorContext | |
| import akka.actor.typed.javadsl.AskPattern | |
| import akka.actor.typed.javadsl.Behaviors | |
| import akka.actor.typed.receptionist.Receptionist | |
| import akka.actor.typed.receptionist.ServiceKey | |
| import kotlinx.coroutines.future.await | |
| import org.springframework.context.annotation.Bean |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer