Commit graph

12060 commits

Author SHA1 Message Date
Viktor Klang
ff540d76ec Making sure that the current Threads' UEH is called when using Akka FJP in Dispatcher as ExecutionContext 2013-01-29 11:26:06 +01:00
Roland Kuhn
f52129b7dc Merge pull request #1013 from Crossing-Tech/logger-osgi
EventHandler using the OSGi LogService
2013-01-28 08:10:27 -08:00
Viktor Klang (√)
00d55276d6 Merge pull request #1075 from akka/wip-2964-update-camel-√
#2964 - Updating Camel to 2.10.3
2013-01-28 07:18:56 -08:00
Viktor Klang (√)
19716654e5 Merge pull request #1073 from akka/wip-2913-add-asByteBuffers-to-ByteString
#2913 - Adding asByteBuffers to ByteString
2013-01-28 07:18:19 -08: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
Christophe Pache
a88eb0d850 OSGi EventHandler dynamically listen to LogService
More information in logging

Conflicts:

	project/AkkaBuild.scala
2013-01-28 16:06:56 +01:00
Christophe Pache
49e73f2fb7 EventHandler using the OSGi LogService
NB1: the EventHandler needs to be specified in the configuration
NB2: there are some logs that appear in the OSGi prompt at starting and stopping of the Bundle

messages are stored in Buffer
 become used in DefaultOSGiLogger
 cleanings
thanks to patriknw

Conflicts:

	project/AkkaBuild.scala
2013-01-28 16:02:47 +01:00
Roland Kuhn
feb413d218 Merge pull request #1067 from akka/wip-2940-sysmsg-serializable-rich
Make it easer to override SystemMessage serialization. Fixes #2940
2013-01-28 06:11:24 -08:00
Viktor Klang
2f86107b10 #2913 - Adding asByteBuffers to ByteString 2013-01-28 14:42:53 +01:00
Viktor Klang
a70db6a141 Adding migration docs for new Agents 2013-01-28 12:08:23 +01:00
drewhk
d486721563 Merge pull request #1070 from drewhk/wip-2906-udpate-remote-samples-drewhk
Updated samples to run with the new remoting #2906
2013-01-28 02:13:33 -08:00
Viktor Klang
e0c8cc4ff3 #2964 - Updating Camel to 2.10.3 2013-01-28 02:01:02 +01:00
Rich Dougherty
7b3ec79c0c Make it easer to override SystemMessage serialization. Fixes #2940
* Make SystemMessage extend Serializable to avoid ambiguity when
    setting serialization-bindings.
  * Set serialVersionUID in SystemMessages and create tests to
    ensure binary formats remain unchanged.
  * Add tests for reference.conf's serialization settings.
  * Make some existing serialization tests more robust.

Removed boilerplate from serialization tests

Use actual reference.conf; tidy up

Make serialization compatible
2013-01-28 13:23:52 +13:00
Viktor Klang
791bbd1565 #2934 - explaining send a bit better in the docs 2013-01-27 23:01:29 +01:00
Endre Sándor Varga
ce014ece35 Updated samples to run with the new remoting #2906 2013-01-25 16:12:08 +01:00
Patrik Nordwall
f12e11df46 Merge pull request #1040 from akka/wip-2895-cluster-singleton-patriknw
Cluster singleton actor pattern, see #2895
2013-01-25 05:02:46 -08:00
Patrik Nordwall
0c38a76c37 Cluster singleton actor pattern, see #2895
* ClusterSingletonManager
* ClusterSingletonManagerSpec multi-node test
* Use in cluster router with single master sample
* Extensive logging to be able to understand what is
  going on
* Java api
* Add cluster dependency to contrib
* Add contrib dependency to sample
* Scaladoc
* rst docs in contrib area, ref from cluster docs
2013-01-25 14:00:28 +01:00
Roland Kuhn
3031173370 Merge pull request #985 from Crossing-Tech/osgi-cluster
Concerning akka in osgi: akka-remote/cluster ActorRefProvider exposed to akka-actor
2013-01-25 04:21:39 -08:00
drewhk
ac35256d85 Merge pull request #1063 from drewhk/wip-change-scheme-order-drewhk
Reversed protocol scheme order in Addresses
2013-01-25 03:34:48 -08:00
Roland Kuhn
aea3ff69f8 Merge pull request #1062 from akka/wip-2821-CTDMS-∂π
fix CallingThreadDispatcherModelSpec, see #2821
2013-01-25 03:08:11 -08:00
Endre Sándor Varga
8795c8dd3c Reversed order in which adapters are applied from config
Needed to be aligned with the new scheme format
2013-01-25 11:42:57 +01:00
Christophe Pache
e6b1a280cd akka-actor and akka-osgi wrapped into one bundle (akka-osgi) taking care of the ActorSystem creation
The akka modules reference.conf are copied inside this bundle.
    Every other akka module is imported optionnaly,
      the same for com.google.protobuf (already imported in akka-remote)
2013-01-25 09:21:00 +01:00
Roland
c0e85c71ce fix CallingThreadDispatcherModelSpec, see #2821
The problem was that the “waves of actors” test leaves behind lots of
garbage for the CTD to clean up, and its own
CallingThreadDispatcherQueues.gc() then happens to run when the guardian
creates the top-level actor in the following test case, which takes
longer than 3 seconds to run. Fix it by making the GC interval 100ms
instead of 1sec so that the amount of garbage is limited.

Also, replacing .mapValues(...).filter(...) with
.foldLeft(.newBuilder)(...) makes it twice as fast.

And even more so: unregistering mailboxes upon actor termination removes
the cost nearly completely for the “waves of actors” case.
2013-01-25 08:12:24 +01:00
Roland
213b1cd3bb enable EPUB output also in online build 2013-01-24 22:39:55 +01:00
Roland
359aab07f3 show real error cause, not LARS shutdown failure, see #2950 2013-01-24 22:18:17 +01:00
Roland
c5e10ad2df add logging to LARS so bugs can actually be found, see #2950 2013-01-24 21:11:07 +01:00
drewhk
fe22c7515f Reversed protocol scheme order in Addresses 2013-01-24 17:23:51 +01:00
Roland
b6ad46e88c fix SchedulerSpec config, see #2941 2013-01-24 16:13:06 +01:00
Roland
2df179ab49 reenable EPUB on sbt-site 0.6.2, see #2938 2013-01-24 15:06:14 +01:00
Viktor Klang
68f3dd549d Merge branch 'wip-agent-rework-√' of github.com:akka/akka into wip-agent-rework-√ 2013-01-24 15:04:05 +01:00
drewhk
d83fb1294d Merge pull request #1058 from drewhk/fixed-hostname-resolution-drewhk
Fixed missing hostname setting in RemotingSpec
2013-01-24 05:38:19 -08:00
Endre Sándor Varga
f338acb3fb Fixed missing hostname setting in RemotingSpec 2013-01-24 14:35:46 +01:00
Roland
02f5da064b Merge branch 'tmp' 2013-01-24 13:53:56 +01:00
Derek Mahar
4848e82a9c various doc fixes (spelling, wrong words, clarity) 2013-01-24 13:52:53 +01:00
Roland Kuhn
ffb58cb9d0 Merge pull request #1052 from akka/wip-2915-testprobe-watch-∂π
don’t use the testActor.queue for probe.watch(), see #2915
2013-01-24 04:48:29 -08: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
Roland Kuhn
04cf9dea0d Merge pull request #1054 from akka/wip-2928-log-postStop-failures-∂π
log failures in postStop, see #2928
2013-01-24 04:45:34 -08:00
Roland
405174d4c3 don’t use the testActor.queue for probe.watch(), see #2915 2013-01-24 13:44:54 +01:00
Roland
5dacfaeb38 fix-up Cluster’s complaint for too slow Scheduler, see #2904 2013-01-24 13:43:40 +01:00
Roland Kuhn
ebbfd77d50 Merge pull request #1047 from akka/wip-2798-ensuring-rich
Add 'requiring': like 'ensuring' but with 'require' semantics. Fixes #2798
2013-01-24 04:40:02 -08:00
drewhk
0b432de0d8 Merge pull request #1044 from drewhk/wip-2593-new-remoting-configuration-drewhk
Changed and documented new remoting configuration #2593
2013-01-24 04:28:21 -08:00
Endre Sándor Varga
99adbdfab4 Changed and documented new remoting configuration #2593 2013-01-24 12:35:05 +01:00
drewhk
9935337d8e Merge pull request #1057 from akka/wip-netty-port-patriknw
Change wrong netty port conf in tests
2013-01-24 03:23:50 -08:00
drewhk
a4c0c7139c Merge pull request #1043 from drewhk/wip-2833-ssl-blocking-handshake
Added blocking handshake for outbound SSL connections #2833
2013-01-24 03:23:07 -08:00
Endre Sándor Varga
580a2484a9 Added blocking handshake for outbound SSL connections #2833
- Eliminated "Promise passing style" and using future composition wherever possible
2013-01-24 10:21:33 +01:00
Patrik Nordwall
4a5695f9d8 Change wrong netty port conf in tests 2013-01-24 09:53:18 +01:00
Rich Dougherty
9bfbf10cea Add 'requiring': like 'ensuring' but with 'require' semantics. Fixes #2798 2013-01-24 16:17:41 +13:00
Roland Kuhn
65d86ba520 relax too tight timing in FSMTransitionSpec 2013-01-23 23:59:33 +01:00
Roland
a80b5269e6 log failures in postStop, see #2928 2013-01-23 23:53:44 +01:00
Roland
bb7a4b7d40 document deadlock risk of TestProbe.watch(TestActorRef), see #2916 2013-01-23 23:38:22 +01:00