Re: [akka-user] Re: akka-http 1.0 RC and SSL and Java

2015-08-14 Thread akkanex
Hi Johannes This is helped me a lot, thank you! - Rob Am Donnerstag, 13. August 2015 09:33:41 UTC+2 schrieb Johannes Rudolph: Hi Rob, here's some recent testing code that creates and uses certificates that are signed by a custom CA. It doesn't require fiddling with Java's `keytool`. The

Re: [akka-user] Re: akka-http 1.0 RC and SSL and Java

2015-08-13 Thread akkanex
Thanks Will! Am Donnerstag, 13. August 2015 02:28:25 UTC+2 schrieb Will Sargent: The SSLContext is responsible for handling the trust store -- you set it up and pass that into akka-http using HttpsContext.create(sslContext,...). How to set up the SSLContext is a bit confusing. There are

Re: [akka-user] Re: Is it ok to use Apache CXF with Akka?

2015-08-07 Thread akkanex
Hi Konrad I watched the video and I totally agree with what you said in the video, I like and use Akka for my asynchronous projects. But, my question was about to use Apache CXF *together *with Akka in an asynchronous way (see example code) and if this ok from a technical perspective? Cheers

Re: [akka-user] Re: Is it ok to use Apache CXF with Akka?

2015-08-07 Thread akkanex
Thanks for your help. Cheers Rob Am Freitag, 7. August 2015 15:29:40 UTC+2 schrieb Konrad Malawski: But, my question was about to use Apache CXF *together* with Akka in an asynchronous way (see example code) and if this ok from a technical perspective? Should just work I guess :-) Not

[akka-user] Is it ok to use Apache CXF with Akka?

2015-08-07 Thread akkanex
I'm familiar with Apache CXF to build REST services. I implemented some Akka service which I want to expose via REST. I know Akka has built akka-http but why should I use it if I can simply implement a REST service with Appache CXF and AsyncReponse? (See example below) Any hint is welcome.

[akka-user] Re: Is it ok to use Apache CXF with Akka?

2015-08-07 Thread akkanex
I'm an Akka beginner - so even if it's a stupid idea it would be great if I would know why. Am Freitag, 7. August 2015 09:43:39 UTC+2 schrieb akk...@gmail.com: I'm familiar with Apache CXF to build REST services. I implemented some Akka service which I want to expose via REST. I know Akka

Re: [akka-user] Re: REST service with Akka and Java

2015-08-06 Thread akkanex
Thank you Konrad. I had to dive a bit deeper into Akka-HTTP and found two more concerns for my use case. My plan is to create a REST server with following requirements: - SSL - Swagger integration (or any other API doc) From what I understand, above requirements are not available at the

Re: [akka-user] Re: REST service with Akka and Java

2015-08-06 Thread akkanex
Thank you Konrad. I had time to dive a bit deeper into Akka-HTTP and found two more concerns for my use case. My plan is to create a REST server with following requirements: - SSL - Swagger integration (or any other API doc) From what I understand, above requirements are not available at

[akka-user] Re: REST service with Akka and Java

2015-08-06 Thread akkanex
Thank you André, this looks interesting. Only drawback is, that it is in experimental state. Am Mittwoch, 5. August 2015 14:58:19 UTC+2 schrieb André: This

[akka-user] Re: system.actorSelection works only from the same system that created the actor

2015-08-06 Thread akkanex
Do not use localhost (127.0.0.0) - use instead the real IP address of the host. See Akka Java Documentation: Why are replies not received from a remote actor? The most common reason is that the local system’s name (i.e. the system@host:1234 part in the answer above) is not reachable from

[akka-user] REST service with Akka and Java

2015-08-05 Thread akkanex
How can I create a REST service with Akka and Java? I use Akka version 2.3.19 I found a huge amount of articles about this topic, some say to use Play-mini, Play, Spray, Camel or Akka-HTTP to build REST services but some of them are outdated, some are working only with Scala, ... I'm pretty