use of org.apache.axis2.transport.testkit.axis2.util.MessageLevelMetricsCollectorImpl in project wso2-axis2-transports by wso2.
the class AxisTestClient method beforeSend.
public void beforeSend() throws Exception {
if (sender instanceof ManagementSupport) {
ManagementSupport sender = (ManagementSupport) this.sender;
messagesSent = sender.getMessagesSent();
bytesSent = sender.getBytesSent();
metrics = new MessageLevelMetricsCollectorImpl();
} else {
metrics = null;
}
}
Aggregations