Skip to content

Instantly share code, notes, and snippets.

View ronenhamias's full-sized avatar
:octocat:
.

Ronen ronenhamias

:octocat:
.
View GitHub Profile
@ronenhamias
ronenhamias / microservices.dispatcher.java
Last active December 29, 2016 04:42
ScaleCube - dispatchers - ServiceCall example
ServiceCall service = microservices.dispatcher().create();
// call the service.
CompletableFuture<Message> future = service.invoke(
ServiceCall.request("my_service_name", "greetings").build());