This project is an example of a reactive web service using the Spring WebFlux framework.
The project includes examples of clients, entities, handlers, and routers for a simple greeting and farewell service. These are constructed using Java and the Spring WebFlux for handling asynchronous I/O.
The project is structured into several main components:
- Clients:
- GreetingClient
- FarewellClient
- Entities:
- Greeting
- Farewell
- Handlers:
- GreetingHandler
- FarewellHandler
- Routers:
- GreetingRouter
- FarewellRouter
This project uses Java SDK (version 21) and Spring WebFlux. You will need these installed to run the application.
Further instructions for installation will be based on your development environment, and might include importing the source into your IDE and resolving dependencies.
To run the application, navigate to the root directory and use the following command in the terminal:
mvn spring-boot:run