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

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

    Attachment: TestMqBroker3.java

Thanks Manuel Teira, this was the problem.

If one QueueSession is used for each Thread it works perfectly.

Thanks again, both of you.

> 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, TestMqBroker3.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