int pendingThreads = 0;
Map<String, TransportOutDescription> trpOuts
= configurationContext.getAxisConfiguration().getTransportsOut();
for (TransportOutDescription trpOut : trpOuts.values()) {
TransportSender trpSnd = trpOut.getSender();
if (trpSnd instanceof ManagementSupport) {
int inUse = ((ManagementSupport) trpSnd).getActiveThreadCount();
int inQue = ((ManagementSupport) trpSnd).getQueueSize();
if ((inUse + inQue) > 0) {
if (log.isDebugEnabled()) {
log.debug(new StringBuilder("Transport Sender : ")
.append(trpSnd.getName()).append(" currently using : ")
.append(inUse).append(" threads with ").append(inQue)
.append(" requests already queued...").toString());
}
pendingThreads += (inUse + inQue);
}