Thanks for trying the new JavaDSL and reporting the issue Daniel!
I sadly have to confirm it's a mistake in the DSL, completeWithFuture should
take Marshaller[T, RequestEntity].
I've logged an issue and submitted a PR to fix it right away:
https://github.com/akka/akka/issues/20592
We'll ship
Hi All,
Hopefully a quick one asking for some advice/pointers on how to marshal and
complete a HTTP route using CompletionStage.
I've taken a look through the latest v2.5.6 documentation inc. The
PetClinic example. What I am trying to do is very similar - marshalling a
response from a high level