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 Fri, 03 Dec 2010 08:54:46 GMT

Gary Tully wrote:
> You could  create your connection and consumer in the initialization
> of the recovery policy rather than an the recover method, that may
> help.

Unfortunately, every recovery action requires its own temporary topic,
so a consumer has to be created every time.

Is there any other way?

As the code here is running inside the broker, isn't there some way to
a topic's data stream without creating a connection and all the
objects?  Everything I've tried seems to need a connection and consumer to
with and every path I have tried creates a deadlock.

Is there any explanation somewhere about all the locking going on here?
Isn't it a concern that a blocking thread in a recovery locks up the entire
broker?  What if a recovery takes a long time?

Maybe there's a way around all of that?


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

View raw message