I am writing a Spring Boot app that uses spring websocket client with jetty, but I do not need any server functions. How can I switch off Jetty server part, so it won't get activated at startup and does not listen on a port?
I'm sorry for the delay in having your question answered.
I also had difficulty finding the answer, so I created a repository in Github with a simple solution, its here:
https://github.com/GleidsonSilva/springboot-ws-client
I hope it is still useful to someone! :)
Cheers!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.