try {
response = template.requestBody(String.format("cxf:http://localhost:%d/paymentFaultService?serviceClass=org.camelcookbook.ws.payment_service.Payment", port1), request, TransferResponse.class);
fail("Request should have failed");
} catch (CamelExecutionException e) {
FaultMessage fault = assertIsInstanceOf(FaultMessage.class, e.getCause());
log.info("reason = {}", fault.getMessage());
}
}