Commit graph

236 commits

Author SHA1 Message Date
Roland
d794b14b2b implement and document Pipelines, see #3174
- heavily inspired by spray.io.Pipeline
- fully functional style: a stage returns the resulting commands and
  events, which makes it impossible to mess with the pipeline from the
  inside
- object allocations are optimized away for emtpy and 1-elem results
- added type-safety, verifying that stages match up
- management commands “from the side” for configuration or async events
- full Java API and docs
2013-04-08 20:57:04 +02:00
Patrik Nordwall
c77cdeb86b Merge pull request #1277 from akka/wip-3074-deprecate-actorFor-patriknw
Deprecate actorFor in favor of ActorSelection, see #3074
2013-04-08 11:48:48 -07:00
Patrik Nordwall
887af975ae Deprecate actorFor in favor of ActorSelection, see #3074
* Deprecate all actorFor methods
* resolveActorRef in provider
* Identify auto receive message
* Support ActorPath in actorSelection
* Support remote actor selections
* Additional tests of actor selection
* Update tests (keep most actorFor tests)
* Update samples to use actorSelection
* Updates to documentation
* Migration guide, including motivation
2013-04-08 18:11:52 +02:00
Patrik Nordwall
ae0cb4a756 Add dispatcher to deployment config, see #2839 2013-04-08 09:52:56 +02:00
Viktor Klang (√)
0d510ff031 Merge pull request #1290 from akka/wip-3077-deprecate-isTerminated-√
#3077 - Deprecating ActorRef.isTerminated
2013-04-03 15:44:20 -07:00
Viktor Klang
7b263365aa #3077 - Deprecating ActorRef.isTerminated 2013-04-03 23:57:28 +02:00
Viktor Klang (√)
641e499cc4 Merge pull request #1287 from akka/wip-2970-lightweight-ec-form-promiseactorref-√
#2970 - Removing scheduler and dispatcher from ARP and reimplementing P...
2013-04-03 11:23:54 -07:00
Viktor Klang
fcfe7b4617 #2970 - Removing scheduler and dispatcher from ARP and reimplementing PromiseActorRef to use an internal calling thread EC 2013-04-03 19:12:03 +02:00
Viktor Klang
6976317bc7 Merged with master 2013-04-03 16:21:22 +02:00
Viktor Klang (√)
ae96654062 Merge pull request #1289 from akka/wip-3166-FSM-initialize-parens-√
#3166 - Adding parenthesis to FSM.initialize
2013-04-03 06:44:13 -07:00
Björn Antonsson
a4ab7a9841 Cleaning up the ActorRef serialization according to review. See #3137 2013-04-03 10:49:38 +02:00
Björn Antonsson
33080a4155 Correctly serialize local actor refs from other actor systems. See #3137 2013-04-03 10:32:13 +02:00
Viktor Klang
48c0b3aa2c #3166 - Adding parenthesis to FSM.initialize 2013-03-30 02:32:40 +01:00
Viktor Klang
c883705242 #3018 - Enabling -Xlint and dealing with the situation that occurs 2013-03-29 01:43:17 +01:00
Patrik Nordwall
b738487dc8 Add UID to RemoteActorRef, see #3072
* Sending to a previous incarnation of an actor shall fail,
  to make remote actors work the same way as local ones (in
  the sense that after Terminated() the ref is not working anymore)
* Changed equality of ActorRef to take the uid into account
* Parse uid fragment in RelativeActorPath and ActorPathExtractor
* Handle uid in getChild and in RemoteSystemDaemon
* Use toSerializationFormat and toSerializationFormatWithAddress
  in serialization
* Replaced var uid in ActorCell and ChildRestartStats with
  constructor parameters (path)
* Create the uid in one single place, in makeChild in parent
* Handle ActorRef with and without uid in DeathWatch
* Optimize ActorPath.toString and friends
* Update documentation and migration guide
2013-03-21 20:25:16 +01:00
Patrik Nordwall
f4d59383d7 Log actor failures in supervisor, see #2824
* To make it possible to override with application
  specific logging, or mute logging for certain failures
* Changed log level of Resume failures to WARNING, which
  caused all the changes to the tests
2013-03-11 13:33:37 +01:00
Endre Sándor Varga
7bf9f1f82b Added patterns for initialization for Scala #2297
(cherry-picked from e2aa3b5)
2013-02-22 14:13:32 +01:00
Björn Antonsson
e09f0ac3ff Merge pull request #1173 from akka/wip-2965-show-how-to-stop-stdout-logging-master-ban
Add new log level OFF. See #2965
2013-02-22 01:07:26 -08:00
Björn Antonsson
ba957c8356 Change documentation to consistently use quotes for log levels. See #2965 2013-02-21 15:29:01 +01:00
Rich Dougherty
f25e8bc639 Make ComposableActor example work. Fixes #2765 2013-02-21 11:44:02 +13:00
Patrik Nordwall
dc9ac4dc57 Java docs and sample of durable mailbox, see #2761
* Added abstract class DurableMessageQueueWithSerialization
(cherry picked from commit 49720e8cd09243ffea9f02c245e0053c126bf555)
2013-02-20 12:52:28 +01:00
Viktor Klang
334c9c6671 #2989 - Switching to mina2 for Camel examples 2013-02-18 13:43:09 +01:00
Rich Dougherty
3b98ba249b Improved router documentation. Fixes #2874
* Edit of basic usage and design.
  * Rearranged order of sections.
  * Added more information on special message types.
  * Added receiveN to JavaTestKit.
2013-02-12 12:25:41 +13:00
Roland Kuhn
8a259897f8 Merge pull request #1108 from akka/wip-channel-transform-∂π
Wip channel transform ∂π
2013-02-06 05:43:04 -08:00
Patrik Nordwall
2476831705 Rename event-handlers to loggers, see #2979
* Rename config akka.event-handlers to akka.loggers
* Rename config akka.event-handler-startup-timeout to
  akka.logger-startup-timeout
* Rename JulEventHandler to JavaLogger
* Rename Slf4jEventHandler to Slf4jLogger
* Change all places in tests and docs
* Deprecation, old still works, but with warnings
* Migration guide
* Test for the deprecated event-handler config
2013-02-05 11:19:02 +01:00
Roland
9b0c3a486f avoid wrapping messages when ask returns single type 2013-02-04 11:02:58 -05:00
Roland
b127ab0d4f final review comments
- make it EXPERIMENTAL
- shuffle docs around to be less scary
- reuse sameThreadExecutionContext in CircuitBreaker
- typos
2013-02-01 15:32:56 +01:00
Roland
1b331dc547 Merge branch 'master' into wip-channels-∂π 2013-01-31 20:26:01 +01:00
Roland
86ded1fb0b review comments
- some API docs
- require names for top-level actors
- allow names for children
- flag error when no channels declared
2013-01-31 20:19:20 +01:00
Roland
7ef5ace8d8 add docs on how to create child actors with channels 2013-01-31 11:40:39 +01:00
Roland
f86fa61613 make all arrows invertible 2013-01-31 11:12:17 +01:00
Roland
6e6e7f7e55 first cut of the docs for typed channels 2013-01-31 00:23:35 +01:00
Viktor Klang (√)
d6addd9f07 Merge pull request #1051 from akka/wip-agent-rework-√
Migrating Agents to greener pastures
2013-01-28 07:16:41 -08:00
Viktor Klang
791bbd1565 #2934 - explaining send a bit better in the docs 2013-01-27 23:01:29 +01:00
drewhk
fe22c7515f Reversed protocol scheme order in Addresses 2013-01-24 17:23:51 +01:00
Roland Kuhn
414fddf1d6 Merge pull request #1053 from akka/wip-2916-CTD-warning-∂π
document deadlock risk of TestProbe.watch(TestActorRef), see #2916
2013-01-24 04:45:49 -08:00
Endre Sándor Varga
99adbdfab4 Changed and documented new remoting configuration #2593 2013-01-24 12:35:05 +01:00
Roland
bb7a4b7d40 document deadlock risk of TestProbe.watch(TestActorRef), see #2916 2013-01-23 23:38:22 +01:00
Roland Kuhn
7066b37077 Merge pull request #1027 from akka/wip-2904-timer-∂π
first cut of new AkkaTimer, see #2904
2013-01-23 11:06:41 -08:00
Roland
8dea20a1f1 LightArrayRevolverScheduler, see #2904
- based on a wheel (AtomicReferenceArray) from which atomic
  single-linked lists dangle
- no locks
- deterministic tests due to overridable time source
- also bring docs up to date
2013-01-23 19:57:44 +01:00
Viktor Klang
9522add9b7 Migrating Agents to greener pastures 2013-01-23 18:25:43 +01:00
Viktor Klang
adfeb2c1f0 #2879 - updating copyright info 2013-01-09 11:38:00 +01:00
Viktor Klang (√)
d719a6809c Merge pull request #996 from akka/wip-make-fsmdocspec-use-bytestring-√
Switching to ByteString in FSMDocSpec to get rid of warnings in pattern ...
2013-01-04 04:18:48 -08:00
Roland
6c31d5313e rename AkkaSpec.{atTermination => afterTermination} 2013-01-03 17:17:12 +01:00
Viktor Klang
51ed8b06b5 Switching to ByteString in FSMDocSpec to get rid of warnings in pattern matching 2012-12-26 17:00:58 +01:00
Endre Sándor Varga
55be17419e Merge branch 'master' into wip-2053d-actorbased-remote-drewhk
Conflicts:
	akka-docs/rst/java/code/docs/serialization/SerializationDocTestBase.java
	akka-docs/rst/scala/code/docs/serialization/SerializationDocSpec.scala
	akka-remote-tests/src/main/scala/akka/remote/testconductor/NetworkFailureInjector.scala
	akka-remote/src/main/scala/akka/remote/RemoteActorRefProvider.scala
2012-12-18 15:15:01 +01:00
Endre Sándor Varga
b886fcd54c Added clarifications to driver-adapter stack building method 2012-12-18 14:29:25 +01:00
Endre Sándor Varga
6bd64d55bd - Fixes in contrib and docs
- Fixed getExternalAddressFor
2012-12-18 14:26:55 +01:00
Viktor Klang
24566c167c #2673 + #2674 - Seq[Byte] becomes ByteString and Frame gets removed, lots of cleanup in ZMQ API 2012-12-14 18:25:04 +01:00
Viktor Klang
d0717aaec6 #2776 - deprecating and introducing alternatives for methods and parameters ending with '_?' 2012-12-14 14:55:21 +01:00