Hi,
I'm using Akka 2.4.17 and I try to configure the "default-dispatcher" to
have at least 50 thread (arbitrary). But Java Mission Control only show 6
or 8.
How I can pre-allocate a pool of 50 ready to go threads ?
Thanks
*MainEntry.java*
/**
* Entry point.
*
* @param args The program
d entity from it like this:
>
> HttpResponse.create()
> .withEntity(HttpEntities.create(contentType, source))
>
> Johannes
>
> On Thursday, April 20, 2017 at 9:56:47 AM UTC+2, Thibault Meyer wrote:
>>
>> Hi,
>>
>> I trying akka-http (version 10.x) by creating a small
d entity from it like this:
>
> HttpResponse.create()
> .withEntity(HttpEntities.create(contentType, source))
>
> Johannes
>
> On Thursday, April 20, 2017 at 9:56:47 AM UTC+2, Thibault Meyer wrote:
>>
>> Hi,
>>
>> I trying akka-http (version 10.x) by creating a small API who
Hi,
I trying akka-http (version 10.x) by creating a small API who generate UUID
on demand. For a bulk UUID creation (ex: */uuid1/5000* to get 5000 UUID
v1), I would like to return a chunked response to avoir building a list of
item on memory.
>From Play 2.5 I usually using final
Hello,
I have a blocking operation that I would like to run on the custom
dispatcher. But I can't return completeWithFuture.
I'm using the latest version of Akka Http on Java 8.
public Route createRoute() {
return route(
path(PathMatchers.segment("shipment")
s 2 completeXxx methods
>
> Hope that helps,
> Michał
>
> On 29/04/17 21:56, Thibault Meyer wrote:
>
> According to
> http://doc.akka.io/docs/akka-http/10.0.5/java/http/common/json-support.html
> we have to use
>
> akk
Hello,
what is the best way to proceed with blocking operation ?
1. Rise up the number of thread of the default-dispatcher or change it to
fixed size thread pool?
or
2. don't touch default values for default-dispatcher and use another
dispatcher (eg : my-blocking-dispatcher) with a fixed
()
akka.http.javadsl.marshallers.jackson.Jackson.marshaller(ObjectMapper o)
Le samedi 29 avril 2017 20:52:12 UTC+2, Thibault Meyer a écrit :
>
> Hello,
>
> I have a blocking operation that I would like to run on the custom
> dispatcher. But I can't return completeWithFuture.
>
> I'm using the l
Hello,
I dont find how to set the content type to "*application/json;
charset=UTF-8*" with the *completeOKWithFuture* and Jackson marshaller.
Currently, Akka Http return the Content-Type "application/json" without
specifying the charset. So in some browsers (like Opera or Chrome) the
output
Hi Greg,
how to do this ? I see no arguments in completeOKWithFuture
or Jackson.marshaller() to do this. I'm using Java version of akka-http.
Thanks
Le samedi 6 mai 2017 00:49:14 UTC+2, Greg Methvin a écrit :
>
> There is no charset parameter defined for application/json. See
>
10 matches
Mail list logo