activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blakecmartin <blakecmar...@gmail.com>
Subject Forget about disconnected brokers/subscribers
Date Tue, 13 Mar 2018 15:29:52 GMT
I have the broker setup described here:  Problematic broker configuration
<https://stackoverflow.com/questions/49052541/why-does-this-activemq-broker-configuration-fail-after-many-brokers-are-added>
 

Due to the nature of this network, brokers sometimes go offline. I can't
make any guarantee about when brokers come back online.

I'm seeing the following warning: *TopicSubscription: consumer=ID:[...]: has
twice its prefetch limit pending, without an ack; it appears to be slow*

What I believe is happening is that messages destined for subscribers on the
disconnected part of the network (i.e., on the other LAN) get spooled
indefinitely. This eventually causes an OutOfMemoryError on one of the
brokers (not a catastrophe because the broker isn't embedded in the
application).

I'd like my messages to be "fire and forget". If a remote subscriber is
unreachable because one of the brokers is offline, drop the message. It'd be
even better if I could forget the remote subscriber exists after a short
time.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Mime
View raw message