activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhruba Bandopadhyay" <>
Subject ActiveMQ-5.1.0-RC3 - Messages going missing
Date Thu, 17 Apr 2008 13:24:10 GMT

Using spring 2.5.3 mdps, tomcat 6.0.16 and activemq 5.1.0-rc3 with 1
producer, 3 brokers and 1 consumer running 5 threads with almost
default broker configuration.

Producer and consumer connecting via the following url.


All brokers using following config.

<beans xmlns=""

    <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"

    <broker xmlns=""
brokerName="broker3" dataDirectory="${activemq.base}/data">
            <transportConnector name="openwire" uri="tcp://localhost:61616" />

    <jetty xmlns="">
            <nioConnector port="8161" />
            <webAppContext contextPath="/admin"
resourceBase="${activemq.base}/webapps/admin" logUrlOnStart="true" />
            <webAppContext contextPath="/demo"
resourceBase="${activemq.base}/webapps/demo" logUrlOnStart="true" />
            <webAppContext contextPath="/fileserver"
logUrlOnStart="true" />


Due to the client connection url the single consumer only uses the
first broker.  Note all multicast options are disabled to prevent
messages going from one broker to another.

When I send 20,000 messages frequently roughly 1000 or so go missing.

Is this correct behaviour given my setup?  What are the usual causes
of messages going missing?  I don't see any exceptions or failures
anywhere.  The consumer stats show that the consumer has only
processed roughly 19000 messages so it is definitely not the case that
it is has processed them but failed to do so correctly.

Any help, advice or link to appropriate documentation would be much
appreciated as for me this is a serious problem.

Many thanks.

View raw message