You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Ruben Cala (JIRA)" <ji...@apache.org> on 2016/09/21 17:58:20 UTC

[jira] [Updated] (ARTEMIS-745) Messages sent to a jms topi address are not expiring in temporary queue created via core API

     [ https://issues.apache.org/jira/browse/ARTEMIS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruben Cala updated ARTEMIS-745:
-------------------------------
    Description: 
I am publishing messages to a topic address (jms.topic.<address>). I set the message expiration to be 2 seconds (publisher via core api).  I have two consumers, one using core api, one using generic stomp protocol.  The core api creates a temporary queue to receive the messages from the the address.  The stomp consumer relies on the auto-generated temporary queue mechanism provided by the broker.  Both consumers are not acknowledging the messages.
In JConsole for the stomp consumer, its queue MessagesAcknowledged attribute count rises with the MessagesAdded count, while the MessageCount stays constant at 2.
For the core api consumer, however, its queue MessagesAcknowledged attribute count stays at 0, while its MessageCount attribute matches the MessagesAdded number.
I see in artemis.log repeated messages for the core consumer:

  was:I am publishing messages to a topic address (jms.topic.<address>). I set the message expiration to be 2 seconds (publisher via core api).  I have two consumers, one using core api, one using generic stomp protocol.  The core api creates a temporary queue to receive the messages from the the address.  The stomp consumer relies on the auto-generated temporary queue mechanism provided by the broker.  Both consumers are not acknowledging the messages.


> Messages sent to a jms topi address are not expiring in temporary queue created via core API
> --------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-745
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-745
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 1.1.0
>         Environment: Redhat Linux 6.2
>            Reporter: Ruben Cala
>
> I am publishing messages to a topic address (jms.topic.<address>). I set the message expiration to be 2 seconds (publisher via core api).  I have two consumers, one using core api, one using generic stomp protocol.  The core api creates a temporary queue to receive the messages from the the address.  The stomp consumer relies on the auto-generated temporary queue mechanism provided by the broker.  Both consumers are not acknowledging the messages.
> In JConsole for the stomp consumer, its queue MessagesAcknowledged attribute count rises with the MessagesAdded count, while the MessageCount stays constant at 2.
> For the core api consumer, however, its queue MessagesAcknowledged attribute count stays at 0, while its MessageCount attribute matches the MessagesAdded number.
> I see in artemis.log repeated messages for the core consumer:



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)