in cxf-soap/src/main/java/org/acme/cxf/soap/wsdl/repository/CustomerRepository.java [50:60]
public void updateCustomer(Customer customer) {
getCustomersStreamByName(customer.getName())
.forEach(storedCustomer -> {
storedCustomer.setRevenue(customer.getRevenue());
storedCustomer.setCustomerId(customer.getCustomerId());
storedCustomer.setNumOrders(customer.getNumOrders());
storedCustomer.setType(customer.getType());
storedCustomer.setTest(customer.getTest());
storedCustomer.setBirthDate(customer.getBirthDate());
});
}