Hi , 
I am trying to unmarshal JSON request to object I have, everything work fine
if I provide the JSON but I got org.apache.camel.InvalidPayloadException: No
body available of type: java.io.InputStream when I provide empty request
body. Is there anyway in REST DSL allow me to validate the empty request
body before i do the unmarshal and provide the user with suitable error
message.
thank you very much for you help 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Validation-Empty-Body-Request-In-Rest-DSL-tp5792825.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to