Sorry for the delay, I missed the original post from February.
This seems to me like a question on customising the Jackson bindings. Have
you tried using the @JsonValue annotation?
Have a look at [1].
[1]
http://stackoverflow.com/questions/13386930/why-doesnt-jsonunwrapped-work-for-lists
HTH,
Hi Yagyesh,
Were you able to crack this?
Even I have same problem and still not able to get any solution for this.
If you done, can you share the code with me please?
Thanks,
Raghu
--
View this message in context:
http://camel.465427.n5.nabble.com/DataFormat-Versus-TypeConverters-tp5747307p5
By calling a service over http , the response which i am getting is of
format:
[{"a":1,"b":2,"c":3},{"a":4,"b":5,"c":6}]
So to map this i have
public void configure() {
from("direct:ab")
.setHeader(HTTP_URI, simple(baseUrl +
"/${header.aa}"))