How to handle growing number of STOMP topics with Spring-boot
up vote
1
down vote
favorite
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:
- Is there a maximum number or topics that can be created?
- What happens with dynamically created topics, that have no more subscribers and will never have anymore? Should I manually remove then, or Spring will take care of this?
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
java spring spring-boot websocket stomp
add a comment |
up vote
1
down vote
favorite
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:
- Is there a maximum number or topics that can be created?
- What happens with dynamically created topics, that have no more subscribers and will never have anymore? Should I manually remove then, or Spring will take care of this?
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
java spring spring-boot websocket stomp
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
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:
- Is there a maximum number or topics that can be created?
- What happens with dynamically created topics, that have no more subscribers and will never have anymore? Should I manually remove then, or Spring will take care of this?
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
java spring spring-boot websocket stomp
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:
- Is there a maximum number or topics that can be created?
- What happens with dynamically created topics, that have no more subscribers and will never have anymore? Should I manually remove then, or Spring will take care of this?
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
java spring spring-boot websocket stomp
java spring spring-boot websocket stomp
asked Jan 6 at 11:08
Vasil Lazarov
62
62
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
-2
down vote
Second question of yous: What happens with dynamically created topics, that have no more subscribers and will never have anymore? Should I manually remove then, or Spring will take care of this?
It has to be handled manually, no auto-configuration to address this in Spring.
Also, were you able to successfully generate topics at run time in spring-boot? If yes, please help with your solution.
1
Colosis, this does not provide an answer to the question. You can search for similar questions, or refer to the related and linked questions on the right-hand side of the page to find an answer. If you have a related but different question, ask a new question, and include a link to this one to help provide context. See: Ask questions, get answers, no distractions
– Shree
1 hour ago
Please Take the Tour , and be sure with your how to answer
– Agilanbu
51 mins ago
If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
– DaveyDaveDave
27 mins ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
-2
down vote
Second question of yous: What happens with dynamically created topics, that have no more subscribers and will never have anymore? Should I manually remove then, or Spring will take care of this?
It has to be handled manually, no auto-configuration to address this in Spring.
Also, were you able to successfully generate topics at run time in spring-boot? If yes, please help with your solution.
1
Colosis, this does not provide an answer to the question. You can search for similar questions, or refer to the related and linked questions on the right-hand side of the page to find an answer. If you have a related but different question, ask a new question, and include a link to this one to help provide context. See: Ask questions, get answers, no distractions
– Shree
1 hour ago
Please Take the Tour , and be sure with your how to answer
– Agilanbu
51 mins ago
If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
– DaveyDaveDave
27 mins ago
add a comment |
up vote
-2
down vote
Second question of yous: What happens with dynamically created topics, that have no more subscribers and will never have anymore? Should I manually remove then, or Spring will take care of this?
It has to be handled manually, no auto-configuration to address this in Spring.
Also, were you able to successfully generate topics at run time in spring-boot? If yes, please help with your solution.
1
Colosis, this does not provide an answer to the question. You can search for similar questions, or refer to the related and linked questions on the right-hand side of the page to find an answer. If you have a related but different question, ask a new question, and include a link to this one to help provide context. See: Ask questions, get answers, no distractions
– Shree
1 hour ago
Please Take the Tour , and be sure with your how to answer
– Agilanbu
51 mins ago
If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
– DaveyDaveDave
27 mins ago
add a comment |
up vote
-2
down vote
up vote
-2
down vote
Second question of yous: What happens with dynamically created topics, that have no more subscribers and will never have anymore? Should I manually remove then, or Spring will take care of this?
It has to be handled manually, no auto-configuration to address this in Spring.
Also, were you able to successfully generate topics at run time in spring-boot? If yes, please help with your solution.
Second question of yous: What happens with dynamically created topics, that have no more subscribers and will never have anymore? Should I manually remove then, or Spring will take care of this?
It has to be handled manually, no auto-configuration to address this in Spring.
Also, were you able to successfully generate topics at run time in spring-boot? If yes, please help with your solution.
edited 1 hour ago
answered 1 hour ago
Colosis
23
23
1
Colosis, this does not provide an answer to the question. You can search for similar questions, or refer to the related and linked questions on the right-hand side of the page to find an answer. If you have a related but different question, ask a new question, and include a link to this one to help provide context. See: Ask questions, get answers, no distractions
– Shree
1 hour ago
Please Take the Tour , and be sure with your how to answer
– Agilanbu
51 mins ago
If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
– DaveyDaveDave
27 mins ago
add a comment |
1
Colosis, this does not provide an answer to the question. You can search for similar questions, or refer to the related and linked questions on the right-hand side of the page to find an answer. If you have a related but different question, ask a new question, and include a link to this one to help provide context. See: Ask questions, get answers, no distractions
– Shree
1 hour ago
Please Take the Tour , and be sure with your how to answer
– Agilanbu
51 mins ago
If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
– DaveyDaveDave
27 mins ago
1
1
Colosis, this does not provide an answer to the question. You can search for similar questions, or refer to the related and linked questions on the right-hand side of the page to find an answer. If you have a related but different question, ask a new question, and include a link to this one to help provide context. See: Ask questions, get answers, no distractions
– Shree
1 hour ago
Colosis, this does not provide an answer to the question. You can search for similar questions, or refer to the related and linked questions on the right-hand side of the page to find an answer. If you have a related but different question, ask a new question, and include a link to this one to help provide context. See: Ask questions, get answers, no distractions
– Shree
1 hour ago
Please Take the Tour , and be sure with your how to answer
– Agilanbu
51 mins ago
Please Take the Tour , and be sure with your how to answer
– Agilanbu
51 mins ago
If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
– DaveyDaveDave
27 mins ago
If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
– DaveyDaveDave
27 mins ago
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f48126716%2fhow-to-handle-growing-number-of-stomp-topics-with-spring-boot%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown