I am currently developing a Spring-boot app that uses STOMP over Web sockets to communicate with the frontend. In my solution, I plan, the clients to periodically subscribe to new dynamically generated topics (such as: /app/topic/some/object/{id} ), these topics are used for some time and then forgotten, and others come.
I was unable to find information on how Spring handles the created topics, and more specifically:
I am using the simple in-memory message broker that comes with Spring-boot websockets, not a full-featured message broker like RabbitMQ or ActiveMQ.
Thanks
@Vasil Lazarov, Answer to second part of your question: STOMP topics with no more subscribers - these topics has to be handled manually. Spring does not provide auto-configuration to address this.
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.