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

Philippe Göllnitz updated AMQ-1187:
-----------------------------------

    Attachment: TestMqBroker2.java

Hello, first thank you for your comments. 

I re-tested the issue by also receiving all the sent messages with 
TestMqBroker2.java and it turned out that the number of messages received were 
exactly matching the information of the JConsole.

I sent 10000 messages with no errors or exceptions thrown, the JConsole showed 
9998 messages enqueued and I received exactly this 9998 Messages.


Console output:

start sending
end sending
Msgs sent: 10000
Msgs received: 9998



> Messages sent in parallel threads may not be enqueued
> -----------------------------------------------------
>
>                 Key: AMQ-1187
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1187
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.0.2, 4.1.0
>         Environment: Linux 
>            Reporter: Philippe Göllnitz
>         Attachments: console.txt, jconsole.png, TestMqBroker.java, 
> TestMqBroker2.java
>
>
> I sent 1000 messages in own threads but monitoring the queue with jconsole 
> sometimes only 999 are in the queue. 
> This happens more likely if you raise the number of sent messages 10.000 or 
> 100.000 but can also happen if set to 100.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to