Skip to content

Instantly share code, notes, and snippets.

@ronenhamias
Last active December 29, 2016 04:42
Show Gist options
  • Select an option

  • Save ronenhamias/dc7a4c4c3e720e573fb947e394dacd10 to your computer and use it in GitHub Desktop.

Select an option

Save ronenhamias/dc7a4c4c3e720e573fb947e394dacd10 to your computer and use it in GitHub Desktop.
ScaleCube - dispatchers - ServiceCall example
ServiceCall service = microservices.dispatcher().create();
// call the service.
CompletableFuture<Message> future = service.invoke(
ServiceCall.request("my_service_name", "greetings").build());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment