activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <bur...@spinn3r.com>
Subject Bug in TopicSubscription (wrong log message?)
Date Mon, 02 Mar 2015 00:08:10 GMT
This looks like a but.  The log message is hard wired to say “*twice* its
prefetch limit pending” but the if statement doesn’t have anything like a
2x modifier.  So perhaps this log line just needs to be re-written?

If you guys agree I’ll create a JIRA for it.

            if (info.getPrefetchSize() > 1 && matched.size() >
info.getPrefetchSize()) {
                // Slow consumers should log and set their state as such.
                if (!isSlowConsumer()) {
                    LOG.warn("{}: has twice its prefetch limit pending,
without an ack; it appears to be slow", toString());


-- 

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