Commit graph

8267 commits

Author SHA1 Message Date
Henrik Engstrom
41ce42c8f7 Upgraded routing documentation to Akka 2.0. See #1063 2011-12-15 16:36:04 +01:00
Viktor Klang
73b79d6e3e Adding a Scala and a Java guide to Akka Extensions 2011-12-15 14:01:04 +01:00
Viktor Klang
866e47c97c Adding Scala documentation for Akka Extensions 2011-12-15 14:01:04 +01:00
Jonas Bonér
b0e630a239 Merge remote-tracking branch 'origin/simplified-multi-jvm-test'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-15 11:43:26 +01:00
Jonas Bonér
b4f1978b37 Merge remote-tracking branch 'origin/wip-simplify-configuring-new-router-in-props-jboner'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-15 10:32:31 +01:00
Jonas Bonér
f59b4c642f Merge branch 'master' of github.com:jboner/akka 2011-12-15 08:48:01 +01:00
Jonas Bonér
9c18b8cb49 Merge branch 'wip-remove-timeout-jboner'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-15 08:47:52 +01:00
Patrik Nordwall
44a82be86f DOC: Disabled agents chapter, since it's in the akka-stm module. See #1488 2011-12-15 08:36:00 +01:00
Peter Vlugter
1d8bd1b67f Update akka sbt plugin
- compatible with both 1.x and 2.x microkernels
- fix sbt deprecation warnings
2011-12-15 17:23:40 +13:00
Peter Vlugter
37efb72f22 Some documentation fixes
- microkernel information
- repository links
- akka download description
2011-12-15 15:39:30 +13:00
Peter Vlugter
a3af3626ce Merge pull request #153 from jboner/docs-intro-he
Updated introduction documents to Akka 2.0. Fixes #1480
2011-12-14 17:30:30 -08:00
Peter Vlugter
cf27ca0ab4 Merge with master 2011-12-15 14:27:57 +13:00
Roland
1ef5145dc9 fix hideous and well-hidden oversight
Thank you, Jenkins and CallingThreadDispatcher, for without you both I
would probably not have found this bug before the milestone release. So,
what happened? Well, ActorModelSpec for the CallingThreadDispatcher
tries to have an actor kill itself twice with InterruptedException (of
all things!) and wants to verify that everything still works. Given the
right timing (which was rare) the semantics of the
CallingThreadDispatcher would mean that the actor would suspend itself
(first failure), inform its supervisor (“/user”, not on CTD) and return
to the spec. If the supervisor was too slow to finish the restart which
includes a resume which will process all messages enqueued meanwhile
from the test BEFORE the test enqueued the second failure, the failure
would actually happen on the supervisor’s thread. Now
InterruptedException is the ONLY exception which always gets passed up,
and thus it is the only Exception which can ever occur genuinely within
a top-level supervisor which will trigger its restart: if it’s an
unhandled one, the actor system will stop, and if it’s a handled one
from a child there will be no problem.

So, having these very special circumstances combined just so, the
“guardian” would restart, and after today’s changes that meant killing
all its children. Boom.

The fix is of course trivial, as always. And the bug is extremely
obvious, once found. Cost me five hours.
2011-12-15 01:43:56 +01:00
Roland
05461cd531 fix log statement in ActorModelSpec 2011-12-15 01:43:56 +01:00
Peter Vlugter
14e6ee564f Merge pull request #152 from jboner/enable-akka-kernel
Re-enable akka kernel
2011-12-14 14:56:02 -08:00
Roland Kuhn
8cb682c5ee Merge pull request #159 from jboner/wip-1516-ActorContext-cleanup-rk
remove non-user API from ActorContext, see #1516
2011-12-14 14:42:13 -08:00
Peter Vlugter
ad8a050d05 Updated microkernel
- no config files used by microkernel
- boot classes are specified as main arguments
- actor system creation is left to user in Bootable
- added on-out-of-memory handler to java args
- updated docs
2011-12-15 11:42:06 +13:00
Peter Vlugter
0772d018fb Merge branch 'master' into enable-akka-kernel 2011-12-15 10:48:59 +13:00
Jonas Bonér
a18206b81a Merge branch 'wip-remove-timeout-jboner' into master
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-14 22:46:43 +01:00
Patrik Nordwall
fabe475f64 DOC: Improved scheduler doc. Split into Java/Scala samples 2011-12-14 21:52:39 +01:00
Peter Vlugter
55594a241b Merge with master 2011-12-15 08:56:48 +13:00
Patrik Nordwall
c57b2732e7 DOC: Another correction of stop description 2011-12-14 20:40:01 +01:00
Patrik Nordwall
7b2349c0d9 DOC: Correction of stop description 2011-12-14 20:26:27 +01:00
Patrik Nordwall
ab1c4c6833 DOC: Updated stop description 2011-12-14 19:39:51 +01:00
Roland
cdff927e0e remove non-user API from ActorContext, see #1516
- handleChildTerminated/handleFailure: no discussion
- currentMessage was (ab)used by IO, fixed by down-casting which IO
  already does for writing to currentMessage (ewww)
- Actor.apply() could now as well be moved to ActorCell, leaving Actor
  as user-API-only, which would be nice but not for M1
2011-12-14 19:34:08 +01:00
Patrik Nordwall
6bbbceaf6c DOC: Updated preRestart 2011-12-14 19:27:57 +01:00
patriknw
9ad2580ea2 Merge pull request #154 from jboner/wip-1503-remove-stm-patriknw
Removed STM module. See #1503
2011-12-14 10:03:12 -08:00
Patrik Nordwall
34252c592c A few more 2000 milliseconds 2011-12-14 19:00:22 +01:00
Patrik Nordwall
e456213e31 Merge branch 'master' into wip-1503-remove-stm-patriknw
Conflicts:
	akka-actor-tests/src/test/scala/akka/actor/SchedulerSpec.scala
	akka-actor-tests/src/test/scala/akka/dispatch/FutureSpec.scala
	akka-docs/modules/camel.rst
2011-12-14 18:56:39 +01:00
Roland
85602fdc89 Merge branch 'wip-1514-duration-inf-rk' 2011-12-14 18:14:01 +01:00
Roland
e96db77fe5 make infinite durations compare true to themselves, see #1514 2011-12-14 18:11:12 +01:00
patriknw
d9e9efe2d7 Merge pull request #156 from jboner/wip-1504-config-comments-patriknw
Rewrite config comments
2011-12-14 08:47:19 -08:00
Patrik Nordwall
b243374ebd Review comments. Config lib v0.2.0. 2011-12-14 17:45:42 +01:00
Viktor Klang
353aa8811d Merge branch 'master' into integration 2011-12-14 17:37:34 +01:00
Viktor Klang
e959493e12 Enormous merge with master which probably led to the indirect unfortunate deaths of several kittens 2011-12-14 17:36:39 +01:00
Jonas Bonér
04cd2adee9 Moved Timeout classes from akka.actor._ to akka.util._.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-14 17:34:56 +01:00
Roland
7ede6062c4 always start Davy Jones
- this is why I don’t really like lazy vals: not used during the whole
  application life, only to be started after everything else is
  shut-down, then complaining that the scheduler is gone
- better start it explicitly in .start(), where it can as well be a
  volatile field
2011-12-14 17:26:28 +01:00
Patrik Nordwall
c1826abee1 Merge branch 'master' into wip-1504-config-comments-patriknw
Conflicts:
	akka-actor/src/main/resources/reference.conf
2011-12-14 17:02:29 +01:00
Roland
ba4e2cb47c fix stupid compile error 2011-12-14 16:32:25 +01:00
Jonas Bonér
2fd43bc4b1 Removed withRouter[TYPE] method and cleaned up some docs.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-14 16:31:26 +01:00
Patrik Nordwall
328d62d16b Minor review comment fix 2011-12-14 16:00:50 +01:00
Roland
1ab2cecc2c Merge branch 'wip-1466-remove-stop-rk' 2011-12-14 15:56:08 +01:00
Roland
49837e4782 incorporate review comments
- fix some code formatting & docs
- make ActorCell.parent a volatile var
2011-12-14 15:24:29 +01:00
Jonas Bonér
7f93f56048 Rearranged ordering of sections in untyped actor docs 2011-12-14 15:22:04 +01:00
Jonas Bonér
f2e36f060d Fix minor issue in the untyped actor docs 2011-12-14 15:20:17 +01:00
Patrik Nordwall
8ffa85c590 DOC: Rewrite config comments. See #1505 2011-12-14 15:12:40 +01:00
Jonas Bonér
8289ac2a29 Minor doc changes to Props docs 2011-12-14 15:10:42 +01:00
Patrik Nordwall
6045af5949 Updated to config lib 5302c1e 2011-12-14 14:08:30 +01:00
Jonas Bonér
80600abc33 Added 'withRouter[TYPE]' to 'Props'.
Added docs (Scala and Java) and (code for the docs) for 'Props'.
Renamed UntypedActorTestBase to UntypedActorDocTestBase.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-14 14:05:44 +01:00
Roland
7d6c74d75c UntypedActor hooks default to super.<whatever> now, plus updated ScalaDoc 2011-12-14 12:47:44 +01:00