getTransportListener(transportName);
if (trpListener instanceof ManagementSupport)
return ((ManagementSupport) trpListener).getMessagesReceived();
}
if (TransportStatisticsConstants.SENDER.equalsIgnoreCase(transportType)) {
TransportSender trpSender = ConfigHolder.getInstance().getTransportSender(transportName);
if (trpSender instanceof ManagementSupport)
return ((ManagementSupport) trpSender).getMessagesReceived();
}
return 0;
}