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