Commit graph

373 commits

Author SHA1 Message Date
RayRoestenburg
8426ded00d ticket-1732, return Failure on producer ask _and_ throw AkkaCamelException so supervision can occur on camel failures 2012-05-07 14:18:41 +02:00
Roland
afd81d8506 Revert "closes #2019: Use parentheses for arity-0 methods which are not referentially transparent"
This reverts commit 8dbfbbe966.
2012-05-03 21:14:47 +02:00
Viktor Klang
4520b17723 MAking ActivationTrackerTest timeing sensitive 2012-05-02 14:43:45 +02:00
Heiko Seeberger
8dbfbbe966 closes #2019: Use parentheses for arity-0 methods which are not referentially transparent 2012-04-24 16:38:21 +02:00
Viktor Klang
6286e493a6 Fixing signature of routeResponse to Unit instead of Any 2012-04-23 11:39:52 +02:00
Piotr Gabryanczyk
ec0f04a741 routeResponse returns Unit 2012-04-23 10:19:31 +01:00
Piotr Gabryanczyk
b7fc3f6da0 casting to AnyRef instead 2012-04-20 17:07:42 +01:00
Piotr Gabryanczyk
c457360dbe adding return types 2012-04-09 07:59:03 +01:00
Piotr Gabryanczyk
1b254f9f61 adding return types 2012-04-09 07:44:47 +01:00
Piotr Gabryanczyk
44a19aff8e Partial functions replaced with regular functions for message converters 2012-04-06 11:13:59 +01:00
Piotr Gabryanczyk
7da8fa132a Made message conversions on producer more user friendly by renaming it and adding outgonig message converter.
Part II
2012-03-30 11:18:07 +01:00
Piotr Gabryanczyk
8138186a44 Made message conversions on producer more user friendly by renaming it and adding outgonig message converter. 2012-03-30 11:09:17 +01:00
Piotr Gabryanczyk
3ef108654c Merge pull request #381 from akka/wip-camel-impicit-ctx
Added CamelContext implicit to ProducerSupport
2012-03-28 00:19:43 -07:00
Piotr Gabryanczyk
7d42fc4764 Added CamelContext implicit to ProducerSupport 2012-03-27 23:01:42 +01:00
RayRoestenburg
3ce3f270df made the timeout longer (from 30ms to 200 ms) on in-only test of ActorProducerTest so it also works on a slow box 2012-03-26 22:27:05 +02:00
RayRoestenburg
2127eb8926 Ticket #1633 updated docs 2012-03-26 22:27:05 +02:00
RayRoestenburg
f74616f828 Processed review wip-camel pull request 344 2012-03-17 21:23:06 +01:00
Piotr Gabryanczyk
4d6511c5c6 Rebased and squashed all changes to akka camel so far from Piotr and Ray 2012-03-17 09:19:57 +01:00
Viktor Klang
149fbea5a7 Updating Copyright as per #1660 2012-01-19 18:21:06 +01:00
Viktor Klang
de151617f2 Creating TypedProps and implementing support for wrapping an arbitrary ActorRef as a TypedActor 2012-01-16 14:11:29 +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
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
Viktor Klang
b32cbbc764 Renaming Block to Await, renaming sync to result, renaming on to ready, Await.ready and Await.result looks and reads well 2011-12-12 22:50:08 +01:00
Viktor Klang
2673a9c047 Removing Future.as[] and commenting out 2 Java Specs because the compiler can't find them? 2011-12-11 20:12:55 +01:00
Viktor Klang
fcc6169ede Removing the final usages of startsWatching/stopsWatching 2011-12-02 01:00:55 +01:00
Viktor Klang
c56341b3a6 Fixing FIXME to rename isShutdown to isTerminated 2011-11-23 19:03:56 +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
Viktor Klang
18bfa26272 Renaming startsMonitoring/stopsMonitoring to startsWatching and stopsWatching 2011-11-16 16:46:16 +01:00
Peter Vlugter
7b8a865c00 Rename address to name or path where appropriate
- TypedActor: address -> name
- TestActorRef, TestFSMRef: address -> name
- Props.randomAddress -> randomName
- Remote protocol: address -> name
- Address.validate moved to ActorPath
2011-11-10 12:19:07 +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
Viktor Klang
77dc9e9c35 #1299 - Removing reply and tryReply, preparing the way for 'sender ! response' 2011-10-19 16:59:47 +02:00
Viktor Klang
01efcd7b50 Removing ActorCell.ref (use ActorCell.self instead), introducing Props.randomAddress which will use the toString of the uuid of the actor ref as address, bypassing deployer for actors with 'randomAddress' since it isn't possible to know what the address will be anyway, removing Address.validate since it serves no useful purpose, removing guard.withGuard in MessageDispatcher in favor of the less costly lock try-finally unlock strategy 2011-10-18 19:14:42 +02:00
Viktor Klang
5788ed4281 Renaming link/unlink to startsMonitoring/stopsMonitoring 2011-10-14 15:09:46 +02:00
Roland
9e8091459b rename application to app everywhere to make it consistent 2011-10-13 14:23:44 +02:00
Viktor Klang
785e2a2636 Moving the cause into Recreate 2011-10-04 13:23:24 +02:00
Viktor Klang
284a8c4d05 Removing getSupervisor and supervisor from ActorRef, doesn't make sense in a distributed setting 2011-10-03 20:29:41 +02:00
Viktor Klang
0f049d67e6 Removing ActorRef.isRunning - replaced in full by isShutdown, if it returns true the actor is forever dead, if it returns false, it might be (race) 2011-10-03 19:43:45 +02:00
Viktor Klang
69768dbc96 Removing the old Supervision-DSL and replacing it with a temporary one 2011-09-30 14:52:07 +02:00
Viktor Klang
a12ee36151 Merge commit 2011-09-29 13:11:35 +02:00
Viktor Klang
a6f53d8605 Major rework of supervision and death watch, still not fully functioning 2011-09-28 14:19:59 +02:00
Peter Vlugter
8297f459e3 Some clean up of the compile and test output 2011-09-27 18:00:26 +02:00
Jonas Bonér
db8a20ea37 Changed all 'def foo(): Unit = { .. }' to 'def foo() { .. }' 2011-09-27 17:41:02 +02:00
Viktor Klang
6e0e9910e9 Fixing the camel tests for real this time by introducing separate registered/unregistered events for actors and typed actors 2011-09-22 17:15:51 +02:00
Roland
7c63f94169 Refactor Mailbox handling
- rename MessageInvocation to Envelope (same for System...)
- rename MessageQueue to Mailbox and include ExecutableMailbox code
- make MailboxType act as factory, so users can provide their own
- properly type mailbox field as Mailbox everywhere
- adapt CallingThreadDispatcher and some tests
- create DeadletterMailbox and use it to replace actor’s mailbox on
  terminate()
2011-09-21 15:16:14 +02:00
Viktor Klang
d6eb76852a Implementing spinlocking for underlyingActorInstance 2011-09-21 14:42:26 +02:00
Peter Vlugter
7b1cdb4457 Remove SelfActorRef and use ActorContext to access state in ActorInstance. See #1202
- removed SelfActorRef
- added an ActorContext interface that provides a view into ActorInstance
- the ActorInstance (as ActorContext) gets injected into the Actor
- moved self methods like sender and reply directly to the Actor
2011-09-19 12:03:15 +02:00
Peter Vlugter
b96f3d9260 Initial breakout of ActorInstance. See #1195 2011-09-15 09:54:40 +02:00
Martin Krasser
b94d1cee36 Merge branch 'master' of github.com:jboner/akka 2011-09-15 09:47:56 +02:00
Martin Krasser
43edfb09e5 Temporarily exclude test until race condition is analyzed and fixed 2011-09-15 09:46:12 +02:00