activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danielstraub>
Subject Messages lost by connecting composite queues
Date Tue, 10 Jun 2014 22:39:59 GMT
We have a network of brokers like this: 
3 broker called integ, postit, qsu are connected via static connectors and
statically included destinations.
One composite queue distributes messages based on messages selectors to the
network and one local queue.
The local queue is also an composite queue and distributes to an queue and
Here some parts of the configuration:

            <compositeQueue name="elektraStatusInput">
              <filteredDestination selector="env='qsu'"   
              <filteredDestination selector="env='postit'"
              <filteredDestination selector="env='integ'" 
          <compositeQueue name="qsu-elektraStatusInput">
              <queue physicalName="elektraStatus"/>
              <topic physicalName="gpmEvent"/>

      <networkConnector uri="static:failover(...)" networkTTL="3"
          <queue physicalName="postit-elektraStatusInput"/> 
          <queue physicalName="integ-elektraStatusInput"/>

Until now, we use a separate logging plugin to show only some relevant
details of the message flow:
Here is an example of a properly delivered message:
28.05.2014 00:20:14,294 send queue://elektraStatusInput
  content: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  properties: land=DE env=qsu
28.05.2014 00:20:14,313 acknowledge topic://gpmEvent
28.05.2014 00:20:14,317 acknowledge topic://gpmEvent
28.05.2014 00:20:14,347 acknowledge queue://elektraStatus

But for some of the messages there isn't an acknowledge, that means there is
only one "send" entry.
And no client consumed the missed messages (we analyzed/compared client and
broker logs as well).

We use a database for persistence, the missed messages are not in the
activemq_msgs table or in a DLQ.
The load on the broker is not as high, we have only about 600 messages per
day (it's in a QA environment).
Sometimes about 2-5% of  messages are missing (only the local processed,
with env='qsu').

How can we find out what happened to the missing messages? 
How can we here achieve 100% reliability ?
Unfortunately, we can't reproduce that with a unit test / load driver in a
local environment 

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message