Quantcast
Viewing all articles
Browse latest Browse all 1367

What is best way to define http().bindAndHandle

Hi

I need to build a project with akka typed and akka http
so i have some questions:
1- when we use both akka(typed) and akka http , we must create two actorsystem?
2- what is the best way to define http().bindAndHandle? my problem is the defining route part.
in the official akka http quick start guide, for defining route they use this way:

val routes = new UserRoutes(userRegistryActor)(context.system)

do you think this way is good if we have more than 10 route? or want to use swagger?

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1367

Trending Articles