Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spring Cloud Command Router implementation
Apparently a Spring RestController doesn't like it when you return null, hence we return "" instead when a dispatch without callback has succeeded. Additionally change the 'receiveCommand(...)' method to return a CompletableFuture.completedFuture() in every if/else/catch block rather than creating a CompletableFuture at the start of the function and calling 'complet(...)' on it
- Loading branch information
stevenb
committed
Nov 24, 2016
1 parent
b7dc7ae
commit 8eca6c9
Showing
2 changed files
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters