while i define the route under restContext and body request contain empty
string ,when i take the body from the exchange , i got the body only with
the name but value is null 

for example :

{  
  
   "id": 836,
   "gender":"",
   "smoker":0,
   "dateOfBirth":"1980-01-01",
   "occupation":2
}

i got :

{  
  
   "id": 836,
   "gender":,
   "smoker":0,
   "dateOfBirth":"1980-01-01",
   "occupation":2
}
 and if i define the route under the camelContext i got the body correctly
from the exchange .

why is different? 




--
View this message in context: 
http://camel.465427.n5.nabble.com/RestContext-tp5785224.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to