Search in sources :

Example 1 with GetAllAmericanCustomersResponse

use of com.example.customerservice.GetAllAmericanCustomersResponse in project camel by apache.

the class CustomerServiceImpl method getAllAmericanCustomers.

/**
     * This method is to test a call without input parameter
     */
public GetAllAmericanCustomersResponse getAllAmericanCustomers() {
    GetAllAmericanCustomersResponse response = new GetAllAmericanCustomersResponse();
    Customer customer = new Customer();
    customer.setName("Schmitz");
    customer.setRevenue(100000);
    response.getReturn().add(customer);
    return response;
}
Also used : Customer(com.example.customerservice.Customer) NoSuchCustomer(com.example.customerservice.NoSuchCustomer) SaveCustomer(com.example.customerservice.SaveCustomer) GetAllAmericanCustomersResponse(com.example.customerservice.GetAllAmericanCustomersResponse)

Aggregations

Customer (com.example.customerservice.Customer)1 GetAllAmericanCustomersResponse (com.example.customerservice.GetAllAmericanCustomersResponse)1 NoSuchCustomer (com.example.customerservice.NoSuchCustomer)1 SaveCustomer (com.example.customerservice.SaveCustomer)1