Message-
From: Joakim Bjørnstad [mailto:joak...@gmail.com]
Sent: Thursday, November 12, 2015 3:10 PM
To: users@camel.apache.org
Subject: Re: SimpleBuilder usage in camel
Hello,
In your example, ${body} is still of type Object[]. So it seems the
SimpleBuilder evaluates it to null since
Hello,
In your example, ${body} is still of type Object[]. So it seems the
SimpleBuilder evaluates it to null since getFirstName() is not a
method on the Object[] in body.
Try:
System.out.println(SimpleBuilder.simple("Hello
${body[0].getFirstName()}").evaluate(exchng, String.class));
On Thu, No
Hi,
I have following processor, when I run it from my route I get the following
error. I know exchange body is not null and you can see it in logs below. What
is wrong with my usage of SimpleBuilder here ?
public class UpdateCustomerProcessor implements Processor {
public static final Logg