I have a simple Spring Boot application that gets messages from a JMS queue and saves some data to a log file, but does not need a web server. Is there any way of starting S
Use this code.
SpringApplication application = new SpringApplication(DemoApplication.class); application.setWebApplicationType(WebApplicationType.NONE); application.run(args);