[
https://issues.apache.org/jira/browse/AMQ-4502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647596#comment-13647596
]
Timothy Bish commented on AMQ-4502:
-----------------------------------
You need to do some additional research on the different between a Topic and
Queue. This behavior is as expected, Queues are fundamentally different beasts
from Topics.
See: http://activemq.apache.org/how-does-a-queue-compare-to-a-topic.html
Messages are held in the Queue regardless of there being an active
subscription. If you need the Queue to drain over time when there are no
consumers then a TTL value is required.
> Stomp messages with no expiration not removed from queue
> --------------------------------------------------------
>
> Key: AMQ-4502
> URL: https://issues.apache.org/jira/browse/AMQ-4502
> Project: ActiveMQ
> Issue Type: Bug
> Components: stomp
> Affects Versions: 5.8.0
> Environment: Linux: Ubuntu 12.04, java openjdk 1.7.
> Reporter: Erik
> Labels: activemq, dequeue, enqueue, expiration, expires, stomp
>
> A producer that sends a message to a queue with no consumers will not be
> dequeued. The messages will never expire. This occurs with Stomp.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira