You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Alex Soto <al...@envieta.com> on 2020/02/06 21:52:01 UTC

Camel Simple type:name.field not working

I have this in my route:

<setBody><simple>${type:java.util.Collections.EMPTY_LIST}</simple></setBody>
<to uri="log:org.enquery.encryptedquery.responder.admin?showAll=true”/>

Then the body is type string and null:
The log shows (abridged):

ExchangePattern: InOut, ... Headers: {...}, BodyType: String, Body: []]


I expect the body to be a java.util.List instance.  What am I doing  wrong?


Best regards,
Alex soto