Commit graph

438 commits

Author SHA1 Message Date
Roland
9d7597c728 Merge branch master into wip-ActorPath-rk
Had to make Davy Jones a bit more robust, i.e. put him into a different
system to guarantee survival until all messages are delivered.
2011-12-05 22:46:34 +01:00
Patrik Nordwall
c8a1a96310 Updated config documentation 2011-12-05 10:41:36 +01:00
Roland
e38cd19af9 Merge branch 'master' into wip-ActorPath-rk 2011-12-02 13:31:48 +01:00
Roland
cf020d708a rename top-level paths as per Jonas recommendation
/user
/system
/null
/temp
/remote
/service

multi-jvm tests are disabled for the time being until remote look-up has
been really implemented
2011-12-02 12:24:47 +01:00
Patrik Nordwall
82bbca43ab Merge branch 'master' into wip-1378-fixme-patriknw
Conflicts:
	akka-actor/src/main/scala/akka/actor/ActorRef.scala
	akka-remote/src/main/scala/akka/remote/RemoteActorRefProvider.scala
	akka-remote/src/main/scala/akka/remote/netty/NettyRemoteSupport.scala
2011-12-02 09:03:03 +01:00
Patrik Nordwall
c5a367ad54 Merge branch 'master' into wip-config-patriknw 2011-12-02 08:49:34 +01:00
Viktor Klang
d626cc2455 Removing suspend and resume from user-facing API 2011-12-02 01:27:42 +01:00
Viktor Klang
879ea7c2b4 Removing startsWatching and stopsWatching from docs and removing cruft 2011-12-02 01:04:33 +01:00
Patrik Nordwall
80ac1737cd First walk throught of FIXME. See #1378
* Fixed obvious
* Created tickets for several, #1408, #1409, #1410, #1412, #1415, 1416, #1418
* Moved LoggingReceive from akka.actor to akka.event
* Touched several of the FIXME to make them visible in code review
2011-11-30 10:48:26 +01:00
Roland
afda539324 merge master into wip-ActorPath-rk 2011-11-29 21:52:18 +01:00
Patrik Nordwall
b56201ab7f Updated to latest config lib and changed how reference config files are loaded.
* Config lib 4f3a91f
* All reference files named reference.conf, all will be loaded
* Usage of ConfigFactor.load as default way
* Extensions use same config as ActorSystem.settings.config
2011-11-29 11:56:41 +01:00
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
Roland
96598704c8 Merge remote-tracking branch 'origin/master' into wip-ActorPath-rk 2011-11-24 16:06:47 +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
Roland
d40235f111 version 2 of the addressing spec 2011-11-22 15:15:57 +01:00
Roland
a2a09ec5a9 write addressing & path spec 2011-11-20 21:47:16 +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