Let us build a fast and asynchronous messenger using Reactive WebSocket by performing the following steps:
- Just like in the previous recipe, convert ch12-messenger to a Spring Boot 2.0 application by adding the Spring Boot 2.0.0.M2 starter POM dependencies, like webflux, actuator for project status monitoring and management, and the websocket protocol we recently used.
- Inside the core package org.packt.messenger.core, add the following Bootstrap class:
@SpringBootApplication public class ChatBootApplication { public static void main(String[] args) throws Exception { SpringApplication.run(ChatBootApplication.class, args); } }
- The application.properties file ...