Queue holds only last message published on the given topic
I have a queue (Q1) and topic T1 assigned to it. I published few messages to that topic and then run queue subscriber. Queue shows only a last message published to the topic. Is it a setup issue?
Comments
-
Hi @cjasniew , almost certainly :-) I strongly suspect that what you've accidentally configured is a "Last Value Queue." Check the size of the spool quota. If it's 0, that's a configuration that creates an LVQ.
LVQ's are very useful for doing things like determining what the last successfully published message was (for instance, if a publisher crashes it can tell what the last message it published was).
3 -
Relevant documentation for Last Value Queue:
https://docs.solace.com/PubSub-Basics/Endpoints.htm#LVQs0 -
Hey @cjasniew - it is the same queue, there isint a specific queue. Its just a the configuration. You can check the size of the spool quota and make sure its not zero, alternatively you can create another queue with the default parameters and just add a subscription to the topic of choice. Hopefully this helps!
1