activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <>
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());


Location: *San Francisco, CA*
… or check out my Google+ profile

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