Fixes #2574 - Clarify max request queued exception message.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2018-06-01 17:07:20 +02:00
parent 946e6682b7
commit 09ee85a74f
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ public abstract class HttpDestination extends ContainerLifeCycle implements Dest
{
if (LOG.isDebugEnabled())
LOG.debug("Max queue size {} exceeded by {} for {}", client.getMaxRequestsQueuedPerDestination(), request, this);
request.abort(new RejectedExecutionException("Max requests per destination " + client.getMaxRequestsQueuedPerDestination() + " exceeded for " + this));
request.abort(new RejectedExecutionException("Max requests queued per destination " + client.getMaxRequestsQueuedPerDestination() + " exceeded for " + this));
}
}
else