activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <bur...@spinn3r.com>
Subject Re: ActiveMQ should GC inactive when producers is 0 , even if consumers is > 0
Date Mon, 02 Feb 2015 17:04:31 GMT
On Mon, Feb 2, 2015 at 5:39 AM, Tim Bain <tbain@alumni.duke.edu> wrote:

> Also, the most common (I think) broker configuration will auto-create a
> destination if a client tries to use it and it doesn't exist.  So if you
> delete the destination while a consumer is still connected, won't the
> broker just immediately recreate it?  If implemented, would this
> enhancement actually do what you want?
>
>
True.  I mean part of this depends on the complexity.  If it’s impossible
to implement this feature or take months then clearly it’s a bad idea.


> It seems like you need some means for the consumer to figure out that the
> producer is done and disconnect itself, which would then let the existing
> destination GC logic work without this enhancement.


Correct.  And to fix the face where a straggler could come in a moment
after the consumer disconnects and writes a message.  This is the main
problem I need a work around for.

Kevin

-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message