add java api for websocket testkit #21184
And additionally adds unit test for WebSocketDirectives #20466
This commit is contained in:
parent
df4a6270e6
commit
b9a05aff96
14 changed files with 342 additions and 23 deletions
|
|
@ -8,7 +8,7 @@ package docs.circuitbreaker
|
|||
import scala.concurrent.duration._
|
||||
import akka.pattern.CircuitBreaker
|
||||
import akka.pattern.pipe
|
||||
import akka.actor.{Actor, ActorLogging, ActorRef}
|
||||
import akka.actor.{ Actor, ActorLogging, ActorRef }
|
||||
|
||||
import scala.concurrent.Future
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ class DangerousActor extends Actor with ActorLogging {
|
|||
|
||||
}
|
||||
|
||||
class TellPatternActor(recipient : ActorRef) extends Actor with ActorLogging {
|
||||
class TellPatternActor(recipient: ActorRef) extends Actor with ActorLogging {
|
||||
import context.dispatcher
|
||||
|
||||
val breaker =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue