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




Reply via email to