=doc fix github link as in #19434
This commit is contained in:
parent
5a18d43435
commit
f46f9edb17
5 changed files with 15 additions and 21 deletions
|
|
@ -13,10 +13,10 @@ import akka.japi.pf.ReceiveBuilder;
|
|||
//#imports
|
||||
|
||||
//#my-actor
|
||||
public class MyActor extends AbstractActor {
|
||||
public class MyJavaActor extends AbstractActor {
|
||||
private final LoggingAdapter log = Logging.getLogger(context().system(), this);
|
||||
|
||||
public MyActor() {
|
||||
public MyJavaActor() {
|
||||
receive(ReceiveBuilder.
|
||||
match(String.class, s -> {
|
||||
log.info("Received String message: {}", s);
|
||||
|
|
@ -21,8 +21,6 @@ import akka.util._
|
|||
import scala.concurrent.duration._
|
||||
import scala.concurrent.Await
|
||||
|
||||
object x {
|
||||
|
||||
//#my-actor
|
||||
class MyActor extends Actor {
|
||||
val log = Logging(context.system, this)
|
||||
|
|
@ -32,10 +30,7 @@ object x {
|
|||
case _ => log.info("received unknown message")
|
||||
}
|
||||
}
|
||||
|
||||
//#my-actor
|
||||
}
|
||||
import x._
|
||||
|
||||
final case class DoIt(msg: ImmutableMessage)
|
||||
final case class Message(s: String)
|
||||
|
|
|
|||
|
|
@ -12,5 +12,5 @@ The support is not enabled automatically, but must be explicitly requested.
|
|||
For enabling message encoding/decoding with :ref:`Routing DSL <http-high-level-server-side-api>` see the :ref:`CodingDirectives`.
|
||||
|
||||
.. _HTTP spec: http://tools.ietf.org/html/rfc7231#section-3.1.2.1
|
||||
.. _akka.http.scaladsl.coding: https://github.com/akka/akka/tree/release-2.3-dev/akka-http/src/main/scala/akka/http/scaladsl/coding
|
||||
.. _akka.http.scaladsl.coding: @github@/akka-http/src/main/scala/akka/http/scaladsl/coding
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
//akka.loggers = ["akka.testkit.TestEventListener"]
|
||||
akka.loggers = []
|
||||
akka.loggers = ["akka.testkit.TestEventListener"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue