Example code for my building and deploying microservices with event sourcing, CQRS and Docker presentation
Other
3.12k
stars
946
forks
source link
Shouldn't it be using restTemplate instead of httpClient , I can see the restTemplate already being injected as a bean ? We might need to extend RestTemplate to utilize HttpUriRequest #41
https://github.com/cer/event-sourcing-examples/blob/7dcafe5deabb6cd55c414eaa611e8537ea39df2e/java-spring/api-gateway-service/src/main/java/net/chrisrichardson/eventstore/javaexamples/banking/apigateway/controller/GatewayController.java#L49