Commit graph

2844 commits

Author SHA1 Message Date
Jan Ypma
09f2d83e69 +tes #21198 Allow TestActor/TestKit/TestProbe to create child actors
This is useful in at least two scenarios:
- Unit testing actors that communicate to their parent directly
- Testing re-creating (typically persistent) actors with the same name
2016-09-01 11:38:07 +02:00
drewhk
4821fb158e #20904: Increase timeouts in TestKitDoc tests, use Sink.seq (#21260) 2016-08-31 17:20:05 +01:00
Konrad Malawski
b1d07498e2 =htp fix for infinite timeout disabling timeout infrastructure (#20817) (#21295)
* fix for infinite timeout disabling timeout infrastructure (#20817)

* filtering out timeout-access header in tests where necessary (#20817)

* filtering out timeout-access header in additional tests (#20817)

* added DummyCancellable object to avoid allocation (#20817)

* added test showing that timeout is correctly reset for both infinite as well as finite initial request-timeout (#20817)
2016-08-31 09:49:41 +01:00
gosubpl
7d7a5e51da added test showing that timeout is correctly reset for both infinite as well as finite initial request-timeout (#20817) 2016-08-30 22:18:26 +02:00
Johan Andrén
012919fdb3 OrElse stage for fallback when no elements emitted #21024 2016-08-30 13:35:59 +02:00
Richard Imaoka
ec7d6a6998 Expose success and fail methods in CircuitBreaker #18347 2016-08-30 11:09:19 +02:00
dyk
0e302d2236 =htp Extract RemoteAddress.Unknown when cannot find client ip (#21289)
* handle unknown client ip

* updated doc

* fixed java dsl test
2016-08-26 15:47:36 +01:00
gosubpl
fcc1d12879 fix for infinite timeout disabling timeout infrastructure (#20817) 2016-08-25 23:32:14 +02:00
Jamie Longmuir
440848c741 Add warning to Akka DD docs about freq add/deletes of top-level entit… (#21269)
* Add warning to Akka DD docs about freq add/deletes of top-level entities - fixes #21249
2016-08-25 16:47:58 +02:00
drewhk
67d0d2a4e3 Merge pull request #21183 from drewhk/wip-20890-stream-hub-drewhk
Stream Hubs
2016-08-24 13:33:02 +02:00
Endre Sándor Varga
bc358f3188 20890 Added MergeHub and BroadcastHub 2016-08-24 11:43:24 +02:00
Bernard Leach
ac8c4dc1b1 +Doc #20192 update http example to always consume response (#21241)
The single-request-in-actor-example does not consume the response
in where the status code is not OK.  Although this is unlikely
to cause backpressure issues as the response is likely to have
a HttpEntity.Strict entity, the example is confusing as it
does not follow the warning about always consuming the response.
2016-08-24 11:16:08 +02:00
Wade Waldron
a397696f05 Added a note to the serialization section regarding desugared names #21263
* Updated note with changes from PR

* Updated note with changes from PR
2016-08-23 17:50:35 +02:00
Patrik Nordwall
7f2b6f8b54 Merge pull request #21186 from agolubev/21049-gaps-in-stages-overview-doc-agolubev
=str 21049 gaps in Source/Sink sections of stages-overview documentation
2016-08-23 12:08:38 +02:00
Alexander Golubev
024d95690c =str 21049 gaps in FlowOps section of stages-overview documentation 2016-08-23 10:51:30 +02:00
Endre Sándor Varga
5e830323f6 Updating to ScalaTest 3.0.0 and ScalaCheck 1.13.2 2016-08-22 11:13:49 +02:00
2beaucoup
0ed4a2aae9 =htp clean up json stream unmarshalling (#21233) 2016-08-19 16:21:33 +02:00
Lukasz Kusek
b873536e68 =doc fix akka-http timeouts documentation #21214
change akka.http.http-connection-pool -> akka.http.host-connection-pool
2016-08-17 21:05:53 +01:00
Nafer Sanabria
90aba99340 =doc add missing module (#21188) 2016-08-16 15:22:05 +02:00
matsu-chara
1cb088ed81 fix eventbus doc-code (#21189)
remove `new AnyRef`

before:

```
new AnyRef {
  class Listener extends Actor {
    def receive = {
      case m: Jazz       => println(s"${self.path.name} is listening to: ${m.artist}")
      case m: Electronic => println(s"${self.path.name} is listening to: ${m.artist}")
    }
  }
```

after:
```
class Listener extends Actor {
  def receive = {
    case m: Jazz       => println(s"${self.path.name} is listening to: ${m.artist}")
    case m: Electronic => println(s"${self.path.name} is listening to: ${m.artist}")
  }
}
```
2016-08-16 15:20:44 +02:00
Hawstein
3e2bdb55a3 add extractActorSystem directive (#21097) 2016-08-16 14:59:05 +02:00
Hawstein
07c6332a22 !htc use correct rejection in http javadsl (#21179) 2016-08-15 17:32:01 +02:00
matsu-chara
d0eca7ef5d remove duplicated sentences (#21187) 2016-08-15 17:25:08 +02:00
Alexander Golubev
d3cbcf9342 =str 21049 gaps in Source/Sink sections of stages-overview documentation 2016-08-12 17:32:21 -04:00
svezfaz
05207a1cf6 double wildcard for actor deployment config #19872 2016-08-09 19:02:01 +01:00
Johan Andrén
22d669f7f0 More generous timeout in file upload sample spec #20727 2016-08-09 18:03:35 +02:00
Johan Andrén
ddb2218f0a Extra clarification and link to juc.ThreadPoolExecutor from docs #21109 2016-08-09 14:00:13 +02:00
Stefano Bonetti
16e3e01ba2 =doc websocket - amending streaming to streamed msgs #19945 2016-08-09 13:10:52 +02:00
Stefano Bonetti
f150b23c59 =doc adding a note about websocket idle-timeout #19945 2016-08-08 16:00:04 +02:00
Johan Andrén
4ca5635fde Don't mention akka.udp as a remote transport to use in the docs #21112 2016-08-08 12:52:25 +02:00
Josep Prat
7876ecc20a Fix typo docs inbox #21132 2016-08-08 12:13:55 +02:00
Shivansh Srivastava
25e4586aa0 [#21090] Added the improved code for loggingResponsetime and added the link in the docs (#21118)
* [#21090] Added the improved code for loggingResponsetime and added the link in the docs

* [#21090] Added javadocs for logRequestResponseTime

* [#21090] Removed the compilation error caused by the missing imports

* [#21090] Removed the compilation error caused by type

* [#21090] Improved the identation of the code

* [#21090] Improved the identation of the code

* [#21090] Removed the empty line

* [#21090] Refactored the documentation with clear explanations
2016-08-05 16:16:14 +02:00
Richard Imaoka
d1a9049fa0 Add samples to run HTTP and HTTPS servers in the same app #18551 (#21079) 2016-08-05 16:11:59 +02:00
Johan Andrén
baf0eb2510 Incorrect message for graceful shard region shutdown docs fixed #20764 2016-08-03 13:22:07 +02:00
skchrko
889e0ef42e Fix typos in "handling blocking operations" doc (#21099)
executer -> executor.
2016-08-03 13:06:35 +02:00
Todd Ginsberg
974c2996e1 Fix typo in source-streaming-support #21103
+ The word "uding" should be "using"
2016-08-02 20:28:40 -05:00
Konrad Malawski
a712f0149a Merge pull request #20778 from ktoso/revival-of-the-undead-json-streaming-of-doom-ktoso
+htp #18837 JSON framing and framed entity streaming directives
2016-08-02 15:59:58 +02:00
Konrad Malawski
9cc32c3aba +htp #18837 completely rewrite EntityStreamingSupport
added CSV examples
updated docs
EntityStreamingSupport is now an entry point, to all streaming things
both read and write side use it
it's easy to extend as well
2016-08-02 15:27:21 +02:00
Konrad Malawski
6562ddd2df =htp address review feedback on JSON streaming 2016-08-02 15:27:21 +02:00
Konrad Malawski
c3308149be +htp #18837 allow as[Source[Tweet, NotUsed]] 2016-08-02 15:27:21 +02:00
Konrad Malawski
c76ec2ac15 +htp #18837 more docs and final cleanups, complete java docs 2016-08-02 15:27:21 +02:00
Konrad Malawski
db880a3db0 +htp #18837 implemented JavaDSL for Source streaming 2016-08-02 15:27:21 +02:00
Konrad Malawski
24454f7f09 +htp #18837 JSON framing and framed entity streaming directives 2016-08-02 15:27:21 +02:00
Konrad Malawski
5783387c8a =doc,htc fix code include and method name of completeWith (#21092) 2016-08-02 12:32:59 +02:00
Łukasz Dubiel
8e71346295 =htp #21029 Move redirect to RequestContext. (#21071) 2016-08-02 11:30:32 +02:00
Endre Sándor Varga
083bfb6692 Fixed bug in Chunker, exposed by interpreter changes 2016-08-01 16:09:50 +02:00
Hawstein
65d9676164 =doc fix typo for migration guide (#21075) 2016-07-30 20:06:25 +02:00
Stefano Bonetti
4e36541350 +doc stages-overview entry for partition stage #21020 (#21073) 2016-07-30 11:04:56 +02:00
Johan Andrén
f8a810317f Link to migration guide from java docs, minor corrections for #20945 2016-07-29 16:42:44 +02:00
Johan Andrén
74243a28f8 Additional JavaDSL package structure and docs #20945 2016-07-29 16:42:40 +02:00