This closes #2932
This commit is contained in:
commit
046f076d39
|
@ -870,8 +870,8 @@ public interface ActiveMQServerLogger extends BasicLogger {
|
||||||
void broadcastGroupClosed(@Cause Exception e);
|
void broadcastGroupClosed(@Cause Exception e);
|
||||||
|
|
||||||
@LogMessage(level = Logger.Level.WARN)
|
@LogMessage(level = Logger.Level.WARN)
|
||||||
@Message(id = 222109, value = "Timed out waiting for write lock on consumer. Check the Thread dump", format = Message.Format.MESSAGE_FORMAT)
|
@Message(id = 222109, value = "Timed out waiting for write lock on consumer {0} from {1}. Check the Thread dump", format = Message.Format.MESSAGE_FORMAT)
|
||||||
void timeoutLockingConsumer();
|
void timeoutLockingConsumer(String consumer, String remoteAddress);
|
||||||
|
|
||||||
@LogMessage(level = Logger.Level.WARN)
|
@LogMessage(level = Logger.Level.WARN)
|
||||||
@Message(id = 222110, value = "no queue IDs defined!, originalMessage = {0}, copiedMessage = {1}, props={2}",
|
@Message(id = 222110, value = "no queue IDs defined!, originalMessage = {0}, copiedMessage = {1}, props={2}",
|
||||||
|
|
|
@ -754,7 +754,7 @@ public class ServerConsumerImpl implements ServerConsumer, ReadyListener {
|
||||||
private boolean flushDelivery() {
|
private boolean flushDelivery() {
|
||||||
try {
|
try {
|
||||||
if (!pendingDelivery.await(30, TimeUnit.SECONDS)) {
|
if (!pendingDelivery.await(30, TimeUnit.SECONDS)) {
|
||||||
ActiveMQServerLogger.LOGGER.timeoutLockingConsumer();
|
ActiveMQServerLogger.LOGGER.timeoutLockingConsumer(this.toString(), session.getRemotingConnection().getTransportConnection().getRemoteAddress());
|
||||||
if (server != null) {
|
if (server != null) {
|
||||||
server.threadDump();
|
server.threadDump();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue