use of com.example.customerservice.multipart.GetAllCustomersResponse in project camel by apache.
the class MultiPartCustomerServiceImpl method getAllCustomers.
@Override
public void getAllCustomers(Holder<GetAllCustomersResponse> parameters, Holder<CompanyType> companyType) {
if (companyType == null) {
throw new IllegalArgumentException("companyType may not be null");
}
GetAllCustomersResponse response = new GetAllCustomersResponse();
Customer customer = new Customer();
customer.setName("Smith");
customer.setRevenue(100000);
response.getReturn().add(customer);
}
Aggregations