activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From badrinana <badri_na...@yahoo.com>
Subject Re: Duplicate messages sent in Active MQ 5.7
Date Thu, 05 Dec 2013 21:54:59 GMT
I tried setting trackMessages=true. Still I get duplicate messages.

    <bean id="connectionFactory2"
class="org.apache.activemq.ActiveMQConnectionFactory">
        <property name="brokerURL">
           
<value>failover:(${jms.broker1.uri},${jms.broker2.uri})?randomize=false&amp;jms.prefetchPolicy.queuePrefetch=1&amp;maxReconnectAttempts=-1&amp;trackMessages=true</value>
        </property>
    </bean>

I also added auditNetworkProducers in the transportConnector.

        <transportConnectors>
            <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"
auditNetworkProducers="true"/>
            <transportConnector name="stomp" uri="stomp://0.0.0.0:52263"/>
        </transportConnectors>


I see 2 messages stuck in 1 of the queues. All the duplicate messages are
appearing from that queue.
Could stuck messages cause issues with Ack of good messages - perhaps all
messages are not Acked?

Thanks






--
View this message in context: http://activemq.2283324.n4.nabble.com/Duplicate-messages-sent-in-Active-MQ-5-7-tp4675063p4675229.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message