Commit graph

424 commits

Author SHA1 Message Date
Patrik Nordwall
19a78c0e58 Slf4jEventHandler should not format log message. See #1401
* Updated documentation with info about MDC.
* Updated documentation conf of logLevel.
* Updated documentation Logback 1.0.0.
2011-11-28 10:07:30 +01:00
Patrik Nordwall
179399296e Modularize configuration. See #1361
* Split config reference to one for each module/extension.
* Adjusted signature of registerExtension to avoid race of extension init
* Moved Duration.dilated to testkit
* TestKitExtension
* RemoteExtension
* SerializationExtension
* Durable mailboxes extensions
* Fixed broken serialization bindings and added test
* Updated configuration documentation
* System properties akka.remote.hostname akka.remote.port replaced with akka.remote.server.hostname and akka.remote.server.port
* Adjustments of ActorSystem initialization. Still don't like the two-phase constructor/init flow. Very fragile for changes.

Review fixes. SerializationExtension
2011-11-23 20:31:58 +01:00
Patrik Nordwall
a9217cec7b Merge branch 'master' into wip-1141-config-patriknw
Conflicts:
	akka-actor/src/main/scala/akka/actor/ActorSystem.scala
2011-11-19 09:18:57 +01:00
Patrik Nordwall
7999c4c195 Docs: Changed organization id from se.scalablesolutions.akka to com.typesafe.akka 2011-11-18 13:21:23 +01:00
Patrik Nordwall
d41c79c2ee Docs: Add info about timestamped snapshot versions to docs. Fixes #1164 2011-11-18 13:21:23 +01:00
Patrik Nordwall
3d6c0fbae6 Removed unecessary import 2011-11-18 11:34:52 +01:00
Patrik Nordwall
4b8f11ea92 Replaced akka.config with new configuration utility. See #1141 and see #1342
* All default values removed from code and loaded from akka-actor-reference.conf, located in src/main/resources (included in jar)
* Default test configuration included in AkkaSpec instead of using akka.test.conf, avoids problems when running test (in IDE) and forgetting to use -Dakka.mode=test.
* System.properties used first, if availble
* Next step will be to split akka-actor-reference.conf in separate -reference for each module
2011-11-18 10:05:40 +01:00
Roland
62032cb1ff merge system-cleanup into master 2011-11-17 14:38:49 +01:00
Roland
d381b72061 rename app: ActorSystem to system everywhere 2011-11-17 12:36:35 +01:00
Roland
648661c548 clean up initialization of ActorSystem, fixes #1050
- create ActorSystemImpl trait to make ActorSystem fully abstract
- add Java API for constructing (ActorSystem.create(...))
- only go through factory methods because .start() has become necessary
- rename all user-facing occurrences of “app” to “system” (Actor trait
  and TestKit/AkkaSpec)
- pass ActorSystemImpl to ActorRefs upon creation, which means that
  actorOf() and friends need such an argument, which must be provided to
  the ActorRefProvider by the ActorRefFactory implementation
2011-11-16 17:18:36 +01:00
Viktor Klang
18bfa26272 Renaming startsMonitoring/stopsMonitoring to startsWatching and stopsWatching 2011-11-16 16:46:16 +01:00
Jonas Bonér
e88d07305d Cleaned up RoutedProps and removed all actorOf methods with RoutedProps.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-11-11 19:57:27 +01:00
Roland
53353d7031 rename MainBus to EventStream (incl. field in ActorSystem) 2011-11-10 21:01:37 +01:00
Roland
945b1aedf9 rename akka.AkkaApplication to akka.actor.ActorSystem
Renaming it to System did not appeal after seeing that such a thing is
already imported from Predef ...
2011-11-10 21:00:01 +01:00
Roland
70ae4e1984 Merge branch 'logging'
known failures in BalancingDispatcherModelSpec and ActorPoolSpec have
tickets
2011-11-09 18:18:32 +01:00
Roland
a747ef7856 Merge remote branch 'origin/master' into logging
BalancingDispatcherModelSpec is currently broken, leaves count==1 in
wavesOfActors test, committed anyway in order to check out where it
broke before this merge
2011-11-09 14:56:05 +01:00
Viktor Klang
bd5b07c573 Merge branch 'master' of github.com:jboner/akka 2011-11-09 11:14:54 +01:00
Viktor Klang
c5de77972d Removing some bad docs 2011-11-09 11:10:36 +01:00
Peter Vlugter
d04ad32588 Get rst docs building again and add some adjustments to the new cluster documentation 2011-11-09 10:40:22 +01:00
Roland
3f21c8a2a6 fix ActorDocSpec by allowing INFO loglevel to pass through 2011-11-04 09:30:33 +01:00
Viktor Klang
a044e41008 Removing outdated and wrong serialization docs 2011-11-03 20:34:48 +01:00
Viktor Klang
1b730b5c82 Removing Channel(s), tryTell etc, everything compiles but all tests are semibroken 2011-10-31 16:09:51 +01:00
Roland
cccf6b4ed9 remove references to !! from docs (apart from camel internals) 2011-10-30 11:39:10 +01:00
Jonas Bonér
7b485f659b Added documentation page on guaranteed delivery.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-28 11:01:24 +02:00
Jonas Bonér
fef4075b8a Added section about how to do a distributed dynamo-style datastorage on top of akka cluster 2011-10-27 17:06:57 +02:00
Peter Vlugter
706692dacd Some more cluster documentation 2011-10-27 15:17:49 +02:00
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
Jonas Bonér
c8b17b9e92 reformatting 2011-10-27 09:51:34 +02:00
Jonas Bonér
09a219bcd1 Merge branch 'master' of github.com:jboner/akka
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-27 09:46:50 +02:00
Jonas Bonér
cf404b0d70 Cleaned up new cluster specification.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-26 14:44:55 +02:00
Peter Vlugter
b2f84ad65d Rename new cluster docs from 'new' to 'cluster' 2011-10-26 14:43:28 +02:00
Peter Vlugter
709f6d5415 Some more updates to the new cluster documentation
Added more info about the push-pull gossip protocol
2011-10-26 14:41:12 +02:00
Jonas Bonér
70f2bec38c Merge pull request #99 from amir343/master
Some formatting changes in STM doc page
2011-10-26 05:29:53 -07:00
Amir Moulavi
037dcfa024 Conversion of class names into literal blocks 2011-10-26 14:22:16 +02:00
Amir Moulavi
b5a4018813 Formatting of TransactionFactory settings is changed to be compatible with Configuration section 2011-10-26 13:58:07 +02:00
Jonas Bonér
a25452126d Added 'Intro' section to new cluster specification/docs. Also minor other edits.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-26 13:55:22 +02:00
Jonas Bonér
12554cd50f Added some sections to new clustering specification and also did various reformatting, restructuring and improvements.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-26 12:23:19 +02:00
Jonas Bonér
258279748a Merge pull request #98 from amir343/master
Some formatting correction in TypedActors doc page
2011-10-25 07:31:49 -07:00
Peter Vlugter
80250cd884 Some docs for new clustering 2011-10-25 16:28:12 +02:00
Amir Moulavi
ef0491f6de Class names and types in the text are converted into literal blocks 2011-10-25 13:34:28 +02:00
Amir Moulavi
314c9fc1d4 broken bullet list is corrected 2011-10-25 13:09:54 +02:00
Amir Moulavi
dd1d71267b broken bullet list is corrected 2011-10-25 13:07:52 +02:00
Roland
3e3f5320f6 document anonymous actors and their perils, fixes #1242
cherry-picked from release-1.3
2011-10-25 11:48:21 +02:00
Roland
076ec4d0a0 add missing .start() to testing.rst, fixes #1266
cherry-picked from release-1.3
2011-10-25 11:47:45 +02:00
Amir Moulavi
4638f834e3 A typo is corrected in Future example Scala code 2011-10-21 16:14:37 +02:00
Viktor Klang
77dc9e9c35 #1299 - Removing reply and tryReply, preparing the way for 'sender ! response' 2011-10-19 16:59:47 +02:00
Viktor Klang
7d879944ce #1210 - fixing typo 2011-10-19 10:10:03 +02:00
Viktor Klang
474787a81d Renaming createActor to actorOf 2011-10-18 17:56:23 +02:00
Viktor Klang
bd39ab0816 Merge branch 'master' of github.com:jboner/akka 2011-10-17 18:35:48 +02:00
Viktor Klang
050411bf3b Making a Java API for Scheduler (JScheduler) and an abstract class Scheduler that extends it, to make the Scheduler pluggable, moving it into AkkaApplication and migrating the code. 2011-10-17 18:35:36 +02:00