_builder.notify(new ExchangeCompletionEvent(ex));
assertEquals(1, _switchYard.getMessageMetrics().getSuccessCount());
assertEquals(10.0, _switchYard.getMessageMetrics().getAverageProcessingTime(), 0);
ComponentService componentService = _switchYard.getApplication(TEST_APP).getComponentService(TEST_PROMOTED_SERVICE);
assertEquals(10.0, componentService.getMessageMetrics().getAverageProcessingTime(), 0);
assertEquals(10.0, componentService.getServiceOperation(OPERATION_NAME).getMessageMetrics().getAverageProcessingTime(), 0);
assertEquals(10.0, _switchYard.getApplication(TEST_APP).getService(TEST_SERVICE).getGateway(TEST_GATEWAY).getMessageMetrics().getAverageProcessingTime(), 0);
}