/* * Merges the statistics logs of the ESB artifacts that are not already * collected by the request flow. */ private void mergeStatisticsRecords( final StatisticsRecord source, final StatisticsRecord destination) { StatisticsRecord clonedSourceStatRecord = MessageHelper.getClonedStatisticRecord(source); for (StatisticsLog clonedSourceStatLog : clonedSourceStatRecord.getAllStatisticsLogs()) { if (!clonedSourceStatLog.isCollectedByRequestFlow()) { destination.collect(clonedSourceStatLog); } } }