You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/03/04 11:38:00 UTC

[jira] [Commented] (ARTEMIS-2641) Openwire client runs out of credits after reconnection

    [ https://issues.apache.org/jira/browse/ARTEMIS-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17051126#comment-17051126 ] 

ASF subversion and git services commented on ARTEMIS-2641:
----------------------------------------------------------

Commit c0f3ea66a91613cb1f928edabdfe213e7c44a4b9 in activemq-artemis's branch refs/heads/master from brusdev
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=c0f3ea6 ]

ARTEMIS-2641 Openwire client runs out of credits after reconnection

Clear the messagePullHandler on setting prefetchSize.


> Openwire client runs out of credits after reconnection
> ------------------------------------------------------
>
>                 Key: ARTEMIS-2641
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2641
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Domenico Bruscino
>            Priority: Major
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> In an environment using OpenWire NMS clients, after the consumer reconnection, we see that messages get prefetched out to the consumer up to its default limit (1000); however, after the client acks all the messages (and the broker shows 1000 messages acked), the broker still reports the consumer is waiting on credits and reports current credits as NULL:
> {code}
> DEBUG [org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl] ServerConsumerImpl [id=0, filter=null, binding=LocalQueueBinding [address=XXXX, queue=QueueImpl[name=XXXX, postOffice=PostOfficeImpl [server=ActiveMQServerImpl::serverUUID=XXXX], temp=false], filter=null, name=XXXX, clusterName=XXXX]] is busy for the lack of credits. Current credits = null Can't receive reference Reference[45099938419]:RELIABLE:CoreMessage...
> {code}
> Looking at a heap from the affected broker, the currentWindow for the consumer is "0" though there are no message references in deliveringRefs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)