Search in sources :

Example 1 with Address

use of org.apache.camel.examples.Address in project camel by apache.

the class AbstractJpaMethodTest method createDefaultCustomer.

protected Customer createDefaultCustomer() {
    Customer customer = new Customer();
    customer.setName("Christian Mueller");
    Address address = new Address();
    address.setAddressLine1("Hahnstr. 1");
    address.setAddressLine2("60313 Frankfurt am Main");
    customer.setAddress(address);
    return customer;
}
Also used : Address(org.apache.camel.examples.Address) Customer(org.apache.camel.examples.Customer)

Aggregations

Address (org.apache.camel.examples.Address)1 Customer (org.apache.camel.examples.Customer)1