[jboss-jira] [JBoss JIRA] (WFLY-10555) The list-messages and remove-messages don't work on a queue when consumer is connected
Jeff Mesnil (JIRA)
issues at jboss.org
Tue Jun 12 11:25:00 EDT 2018
[ https://issues.jboss.org/browse/WFLY-10555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590387#comment-13590387 ]
Jeff Mesnil commented on WFLY-10555:
------------------------------------
I don't think your test is valid.
You start a consumer that will receives the message from the producer.
As soon as the message is sent by the producer to the broker, the broker will route it to the queue and will to the consumers.
You pause the code in the Consumer class but the consumer remains connected to the broker and will buffer the messages. That's why the queue remains empty.
> The list-messages and remove-messages don't work on a queue when consumer is connected
> ---------------------------------------------------------------------------------------
>
> Key: WFLY-10555
> URL: https://issues.jboss.org/browse/WFLY-10555
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 11.0.0.Final, 13.0.0.Final
> Reporter: Josef Cacek
> Assignee: Jeff Mesnil
> Attachments: helloworld-jms.zip
>
>
> The queue operations {{:list-messages}} and {{:remove-messages}} don't work (return empty set) if a consumer is attached to the server.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list