Commit graph

56 commits

Author SHA1 Message Date
Björn Antonsson
7dac4d8faf Clean up akka-file-mailbox for OSGi. #see 2497 2012-09-17 13:48:31 +02:00
Viktor Klang
3911b18069 Merging in master 2012-07-04 15:24:23 +02:00
Patrik Nordwall
962e4a9638 Document how to boot up an Akka/play-mini application, see #2272 2012-07-03 11:28:55 +02:00
Viktor Klang
54a3a44bf8 #2292 - Removing akka.util.Duration etc and replace it with scala.concurrent.util.Duration 2012-06-29 13:33:20 +02:00
Viktor Klang
1a7f29aaec Making everything compile and tests pass 2012-06-28 15:33:49 +02:00
Roland
b60210362e make system.actorOf() non-blocking (and working), see #2031
- introducing RepointableActorRef, which starts out with an
  UnstartedActorCell which can cheaply be created; the Supervise()
  message will trigger child.activate() in the supervisor, which means
  that the actual creation (now with normal ActorCell) happens exactly
  in the right place and with the right semantics. Messages which were
  enqueued to the dummy cell are transferred atomically into the
  ActorCell (using normal .tell()), so message sends keep working
  exactly as they used to
- this enables getting rid of the brittle synchronization around
  RoutedActorRef by replacing that one with a RepointableActorRef
  subclass which creates RoutedActorCells upon activate(), with the nice
  benefit that there is no hurry then to get it right because the new
  cell is constructed “on the side”

misc fixes:

- InvalidMessageException is now actually enforced when trying to send
  “null”
- Mailboxes may be created without having an ActorCell, which can come
  in handy later, because the cell is only needed when this mailbox is
  going to be scheduled on some executor
- remove occurrences of Props(), which is equivalent to Props[Nothing],
  which is equivalent to «bug»
- add test case which verifies that context.actorOf is still synchronous
- plus all the stuff I have forgotten.
2012-06-13 17:57:56 +02:00
Viktor Klang
12b9af25cf #2168 - Exposing more Netty options in remtoe config 2012-06-01 21:29:47 +02:00
Brian Scully
6a415f0e9b * Add Circuit Breaker to akka.pattern for general use. Circuit breaker implementation as described by Michael T. Nygard in Release It!. Fixes #1734
* Uses finite state machine for three states: Closed, Open, Half-Open
    * Closed state allows calls through, and on sequential failures exceeding the max# set - transitions to Open state. Intervening successes cause the failure count to reset to 0
    * Open state throws a CircuitOpenException on every call until the reset timeout is reached which causes a transition to Half-Open state
    * Half-Open state will allow the next single call through, if it succeeds - transition to Closed state, if it fails - transition back to Open state, starting the reset timer again
  * Allow configuration for the call and reset timeouts, as well as the maximum number of sequential failures before opening
  * Supports async or synchronous call protection
  * Callbacks are supported for state entry into Closed, Open, Half-Open.  These are run in the supplied execution context
  * Both thrown exceptions and calls exceeding max call time are considered failures
  * Uses akka scheduler for timer events
  * Integrated into File-Based durable mailbox
  * Sample documented for other durable mailboxes
2012-06-01 08:24:47 -04:00
Roland
dd30e81a1a document Specs2 + TestKit, see #2068, plus fix up broken includes
- include move of doc samples out of akka package also in the
  includecode directives
- fix broken serialization docs, which require one thing in the akka
  package
2012-05-24 22:23:36 +02:00
Patrik Nordwall
0eae9d8d22 Move all doc examples out of the akka-package to avoid use of private APIs. See #2092 2012-05-22 11:37:09 +02:00
Jonas Bonér
4a61a14d8b Added Akka Mist port and pointers to other community HTTP/REST projects to the HTTP docs 2012-05-21 14:40:18 +02:00
Patrik Nordwall
1e82a231c9 Incorporate review feedback. See #2061 2012-05-21 07:46:48 +02:00
Patrik Nordwall
8924080017 Create test-fixture for durable mailboxes. See #2061
* Improved DurableMailboxSpec for stand alone usage
* Changed build to publish DurableMailboxSpec in akka-mailboxes-common-test
* Changed documentation of durable mailboxes and added full example of
  how to implement a durable mailbox, with test
2012-05-15 16:11:00 +02:00
Jonas Bonér
41ba88e1f8 Cleaned up akka-docs, removed old and unused docs, fixed some errors etc. 2012-05-11 10:00:12 +02:00
Viktor Klang
7bd7e4f13e Removing all but the FileBasedDurableMailbox from the docs 2012-05-08 16:16:47 +02:00
Viktor Klang
b5960253a2 #1990 - Adding Java and Scala version of the microkernel docs 2012-04-23 14:50:26 +02:00
Peter Vlugter
d7fe025fa2 Update docs theme 2012-03-06 13:20:00 +13:00
Peter Vlugter
1fd28e429e Update version to 2.1-SNAPSHOT 2012-03-05 10:50:54 +13:00
Viktor Klang
572382b220 Removing playMini as to avoid the cyclic dependency, please look at the play-mini docs for examples 2012-02-27 14:02:27 +01:00
Henrik Engstrom
3955813db7 Missed one place in the documentation containing a reference to an old version of play-mini. All refs are now ok. 2012-02-17 10:36:44 +01:00
Henrik Engstrom
073b6912f9 Updated version of play-mini in documentation. 2012-02-17 10:02:19 +01:00
Bruce Mitchener
3d90f480d0 Fix spelling errors. 2012-02-14 19:50:01 +07:00
Henrik Engstrom
1e879b6d03 Added HTTP docs with a sample application. See #1538 2012-02-12 23:09:47 +01:00
Jonas Bonér
51a218b87f Fixes ticket #1809 - Harmonize configuration option names.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-09 20:40:09 +01:00
Patrik Nordwall
aa0b48a43b Config dir first in classpath. See #1761 2012-02-01 08:49:31 +01:00
Patrik Nordwall
40c351e5be Describe akka-sbt-plugin AkkaKernelPlugin. See #1742 2012-01-30 11:14:55 +01:00
Viktor Klang
149fbea5a7 Updating Copyright as per #1660 2012-01-19 18:21:06 +01:00
Viktor Klang
d3eb9a29a6 Directing the Http docs to Play! mini 2012-01-10 16:29:14 +01:00
Patrik Nordwall
c4401f1ca8 Changed so that the configured FQCN of the mailboxType must be a MailboxType, not the Mailbox. See #1458 2011-12-21 19:37:18 +01:00
Patrik Nordwall
f772b0183e Initial commit of dispatcher key refactoring, for review. See #1458
* Changed signatures and constructor of MessageDispatcherConfigurator
* Changed Dispatchers.lookup, keep configurators instead of dispatchers
* Removed most of the Dispatchers.newX methods, newDispatcher is still there because of priority mailbox
* How should we make it easy to configure priority mailbox?
* Changed tons tests
* Documentation and ScalaDoc is not updated yet
* Some tests in ActorModelSpec are temporary ignored due to failure
2011-12-21 13:27:50 +01:00
Patrik Nordwall
5fd40e53ca Updates after feedback 2011-12-20 09:56:29 +01:00
Patrik Nordwall
61813c6635 Make MailboxType implementation configurable. See #1484
* Added mailboxType property to dispatcher config
* Changed durable mailboxes to use this
* Updated docs for durable mailboxes
2011-12-19 21:41:02 +01:00
Henrik Engstrom
419b69438f Added copyright header to all samples in docs. Fixes #1531 2011-12-19 11:07:59 +01:00
Jonas Bonér
d9217e4803 Added 'notes' section formatting and some more content to the cluster, spring and camel pages.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-15 15:05:09 +01:00
Jonas Bonér
ce296b0481 Misc additions to, and rewrites and formatting of, the documentation.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-15 14:26:17 +01: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
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
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
Patrik Nordwall
8ffa85c590 DOC: Rewrite config comments. See #1505 2011-12-14 15:12:40 +01:00
Patrik Nordwall
06a08c5823 Removed STM module. See #1503
* Removed from build. Didn't remove akka-stm directory, contains transactors also.
* Replaced usage of org.multiverse.api.latches.StandardLatch in some tests with testkit.TestLatch
2011-12-14 12:39:27 +01:00
Roland
5eedbdd69f rename ActorSystem.stop() to .shutdown() 2011-12-14 01:06:20 +01:00
Jonas Bonér
8c8680473a Merge branch 'wip-clean-up-actor-cell-jboner'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 15:14:23 +01:00
Jonas Bonér
d725c9c681 Updated docs with changes to 'actorOf(Props(..))'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 14:53:18 +01:00
Jonas Bonér
c9b787f029 Removed all 'actorOf' methods that does not take a 'Props', and changed all callers to use 'actorOf(Props(..))'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 14:09:40 +01:00
Patrik Nordwall
4df0ec5823 DOC: Removed most of http docs. See #1455 2011-12-12 12:27:45 +01:00
Patrik Nordwall
f07768d94e DOC: Disabled spring, camel and microkernel. See #1455 2011-12-12 12:08:35 +01:00
Patrik Nordwall
eaafed69eb DOC: Update Durable Mailboxes Chapter. See #1472 2011-12-12 11:51:12 +01:00
Patrik Nordwall
884dc43a7d DOC: Replace all akka.conf references. Fixes #1469
* Let us use :ref:`configuration` in all places to refer to the configuration.
2011-12-09 13:27:27 +01:00
Roland
cccf6b4ed9 remove references to !! from docs (apart from camel internals) 2011-10-30 11:39:10 +01:00
Jonas Bonér
7bc698f864 Moved remote-centric config sections out of 'cluster' to 'remote'. Minor renames and refactorings.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-20 16:30:21 +02:00