pekko/akka-tutorials/akka-tutorial-second
Roland f46c6dc533 introducing: MainBus feat. LoggingBus
most tests passing, everything compiling, but docs not updated and nasty
thread-leak preventing me from running the whole test-suite (which is
the reason for this commit: I want to chase down that one first).

- the app.mainbus is classified by Class[_] (currently lookup, will
  possibly change to sub-class-aware) and accepts AnyRef messages
- LoggingBus handles akka.event-handlers from config specially:
  + start them as system services, supervised by SystemGuardian
  + keep their subscriptions in sync when logLevel_= is called
  + send them InitializeLogger(bus) message before subscribing them (so
    they can register for extras like Mute/UnMute)
- two-phased start-up: first phase with actor-less stdout logging, then
  subscription of config loggers, then remove stdout logger (logLevels
  configurable separately)
- MainBusReaper watches registered receivers and unsubscribes them upon
  death (started in phase 2)
- logger factory on Logging object, needs app/bus and log source;
  default instance in app.log
2011-10-27 12:36:22 +02:00
..
project Bump version to 2.0-SNAPSHOT 2011-05-18 12:44:37 +12:00
src/main introducing: MainBus feat. LoggingBus 2011-10-27 12:36:22 +02:00
pom.xml Bump version to 2.0-SNAPSHOT 2011-05-18 12:44:37 +12:00
README Update tutorials and include source in the distribution 2011-05-10 16:37:31 +12:00

=================
 Second Tutorial
=================

This is the source code for the second tutorial.

See the Akka Documentation for information about this tutorial.