activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan (JIRA)" <>
Subject [jira] Commented: (AMQ-1187) Messages sent in parallel threads may not be enqueued
Date Thu, 28 Jun 2007 10:43:33 GMT


James Strachan commented on AMQ-1187:

I just mentioned this on IRC but figured I'd repeat here for anyone watching JIRA. IT could
just be you're using multiple threads, but not using thread safe counters.

Try refactor the 'int count*" variables to use AtomicInteger instead and see if its still
an issue?

> Messages sent in parallel threads may not be enqueued
> -----------------------------------------------------
>                 Key: AMQ-1187
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.0.2, 4.1.0
>         Environment: Linux 
>            Reporter: Philippe Göllnitz
>         Attachments: console.txt, jconsole.png,,
> 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.

View raw message