[
https://issues.apache.org/jira/browse/AMQ-5667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
方春柳 updated AMQ-5667:
---------------------
Description:
Asynchronous sending non persistence messages
1、Set the connection‘s producerWindowSize parameter larger than zero.
2、Set the sendFailIfNoSpaceAfterTimeout parameter larger than zero.
3、Use VMQueueCursor as a message storeage
4、Start producer and Send a lot of messages until the broker memory occupied.
5、Start consumer spending all the messages.
6、You’ll find the producer did not continue to send message but has been blocked
Reason:No memoryUsage calls the decreaseUsage method on the client broker to
remove the timeout message, resulting in producer has been blocked in the
waitForSpace method.
was:
Asynchronous sending non persistence messages
1、Set the connection‘s producerWindowSize parameter larger than zero.
2、Set the sendFailIfNoSpaceAfterTimeout parameter larger than zero.
3、Use VMQueueCursor as a message storeage
4、Start producer and Send a lot of messages until the broker memory occupied.
5、Start consumer spending all the messages.
6、You’ll find the producer did not continue to send message but has been blocked
> Asynchronous sending non persistence messages and set the ProducerWindowSize
> parameter and SendFailIfNoSpaceAfterTimeout it error
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-5667
> URL: https://issues.apache.org/jira/browse/AMQ-5667
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.10.0
> Reporter: 方春柳
>
> Asynchronous sending non persistence messages
> 1、Set the connection‘s producerWindowSize parameter larger than zero.
> 2、Set the sendFailIfNoSpaceAfterTimeout parameter larger than zero.
> 3、Use VMQueueCursor as a message storeage
> 4、Start producer and Send a lot of messages until the broker memory occupied.
> 5、Start consumer spending all the messages.
> 6、You’ll find the producer did not continue to send message but has been
> blocked
> Reason:No memoryUsage calls the decreaseUsage method on the client broker to
> remove the timeout message, resulting in producer has been blocked in the
> waitForSpace method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)