activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adam <>
Subject Re: How to safely consume a topic from INSIDE the broker?
Date Sat, 04 Dec 2010 02:57:13 GMT

I have traced this a bit more and the problem is bigger than I thought.  What
I am seeing is that while SubscriptionRecoveryPolicy is running, a lock is
taken out that prevents ANY producer or consumer from being added or removed
from BrokerRegion.

Note that this prevents ANY connection to the broker from creating
subscriptions or from becoming a new producer for a destination.  From the
perspective of many client applications this can actually look like a hang
in completing the connection (if, for example, their connection tries to
subscribe to Advisory messaging automatically, which seems to be the

This seems pretty bad to me.  Especially since I expect my recovery actions
to take a while (lots and lots of messages from a special message store).

I'm not sure how to fix this, although I am willing to give it a shot if
someone could provide an explanation around the synchronization of

I have logged a bug here:
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message