Exchange exchange = producerTemplate.send("direct:start", new Processor() {
public void process(Exchange exchange) throws Exception {
BeanInvocation beanInvocation = new BeanInvocation();
GetCustomersByName getCustomersByName = new GetCustomersByName();
getCustomersByName.setName("Dr. Multipart");
beanInvocation.setMethod(MultiPartCustomerService.class.getMethod("getCustomersByName",
GetCustomersByName.class, com.example.customerservice.multipart.Product.class));
Product product = new Product();
product.setName("Multipart Product");