activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <bur...@spinn3r.com>
Subject Why are NoConsumer topic advisories only for non-persistent messages??
Date Mon, 02 Feb 2015 20:19:44 GMT
So this would TOTALLY solve the race condition I talked about in the other
thread.

I could listen for

ActiveMQ.Advisory.NoConsumer.Queue

and when a queue lacks a consumer, I can just fire it up.

The problem is it won’t work because I’m using a persistent store.

Is there a reason they don’t work for persistent messages or is this just a
design feature.

I’d love to submit a patch to enable it to work for non-persistent
messages.. or a flag to enable it.

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