7 Microservices
This chapters covers
- Microservices overview and characteristics
- Developing microservices with Camel
- WildFly Swarm and Camel
- Spring Boot and Camel
- Designing for failures
- Netflix Hystrix circuit breakers
We wanted to bring you the most up-to-date material, so, because the IT industry is evolving constantly, we decided to wait and write chapters 7 and 18 last. This chapter covers using microservices with Camel, and chapter 18 is a natural continuation that goes even further and takes the microservices world into the cloud by using container technology such as Docker and Kubernetes. This chapter stays down-to-earth and is mainly focused on running locally on a single computer or laptop.
We initially wrote a lengthy chapter introduction to talk about how the software is eating the world, how businesses are being disrupted, and how new emerging businesses are doing business in a faster and more agile way, where microservices are instrumental. But we felt there are much better authors who can explain all that, and we mention two of them at the start of section 7.1.
The first section covers six microservices characteristics that you should have in mind when reading the remainder of this chapter.
Section 7.2 jumps into action by showing you how to build microservices with Camel by using various JVM frameworks, starting with plain, standalone Camel and moving all the way to using popular Java microservice runtimes such as Spring Boot and WildFly Swarm.