honeyAndSw / vertx-microservices-workshop-scala

Scala Vert.x project inspired by vertx-microservices-workshop
3 stars 0 forks source link

Async RPC - Event bus service #8

Open honeyAndSw opened 7 years ago

honeyAndSw commented 7 years ago

- Async service interface - Verticle? Service? - Service Proxy

honeyAndSw commented 7 years ago

Vert.x Service Proxy 무엇이고 왜 사용하는지?

- Service Proxies

When creating a service there's a certain amount of boiler-plate code to listen on the eventbus for incoming messages, route them to the appropriate method and return results on the event bus. With Vert.x service proxies, you can avoid writing all that boiler-plate code and concentrate on writing your service.

- Full Documentation

That’s the main purpose of service proxies. It lets you expose a service on the event bus, so, any other vert.x component can consume it, as soon as they know the address on which the service is published.