activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NateS <>
Subject ActiveMQ 5.1 broken - repro test included
Date Thu, 05 Jun 2008 22:43:38 GMT

We had been using 4.1.1 and recently upgraded to 5.1. Everything seemed fine
at first, but after a while we found some messages were not being received.
I wrote the test below that reproduces the problem. With 5.1, after running
the test for a little while the test will stop because a message was sent
and not received within the (very liberal) timeout. Reverting back to 4.1.1
and the test works fine. It also appears to work fine on 4.1.2.

To run the test, change SERVER in the provider URL of both source files.
Then run the JmsReceiverTest first, then run the JmsSenderTest. With a
timeout of 2 seconds we see failure with 5.1 after about 200 messages. With
a timeout of 60 seconds failure happens at ~8000 messages.

This appears to be a bug with ActiveMQ 5.1, however I'd appreciate any input
you might have if you think there is a better solution to achieve the same
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message