activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesH <>
Subject Persistent messages disappearing
Date Fri, 23 May 2014 10:00:09 GMT

I'm having an issue with persistent messages getting lost with network
connector forwarding messages. I've searched forums, tried fixing with
inactivitymonitor but nothing seems to work.
We have two external amq:s which puts messages on amq 5.9 locally through
After some time (random) an is thrown and it
succesffully reconnects 0.1s later. But that is when the problem starts.
Messages on the external dequeues seems to be dequeued (enqueued and
dequeued correctly) but the messages are never received on the receiving amq
(5.9). Rarely any messages gets through but it seems to be that some
messages goes through and are received. The receiver amq enqueued/dequeued
does not match th external amqs. It is alot lower like if it never received
the messages. A restart to the external amqs fixes the problem and it starts
to send all messages correctly. But why does the external amqs dequeue
messages when they are not received by the receiving amq? The messages are
all marked with persistence and it is correct according to the webconsole.

The external activemq:s are configured with:  
            <transportConnector name="openwire"
            <transportConnector name="openwireSSL"
            <transportConnector name="stomp+ssl"
            <transportConnector name="stomp"

Which seems to not be a problem and works fine.
These messages are forwarded to another amq which servers as the receiver of
all these messages. The external amq:s forwards the messages with

      <broker xmlns=""
brokerName="ext" dataDirectory="${}" populateJMSXUserID="true"

          <networkConnector name="extToReceiver"
userName="extusername" password="extpassword" staticBridge="true"
networkTTL="3" decreaseNetworkConsumerPriority="true">
                    <queue physicalName=""/>

The broker dmz

      <broker xmlns=""
brokerName="dmz-broker" dataDirectory="${}"
populateJMSXUserID="true" persistent="true">

uses the simpleauthenticationplugin and the transportconnector

     <transportConnector name="openwireSSL"

The external ativemqs shows this error in the log
2014-05-20 11:24:35,417 | WARN  | Transport (tcp://uritodmz-broker:61617)
failed, reason:, attempting to automatically reconnect
| org.apache.activemq.transport.failover.FailoverTransport | ActiveMQ
Transport: ssl:///uritodmz-broker:61617
2014-05-20 11:24:51,219 | INFO  | Successfully reconnected to
ssl://uritodmz-broker:61617 |
org.apache.activemq.transport.failover.FailoverTransport | ActiveMQ Task-3

All help is appreciated!

Thank you

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

View raw message