camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chubutin <ramp...@gmail.com>
Subject Re: How to return null element with Camel-CXF
Date Mon, 17 Feb 2014 02:45:28 GMT
Hi, thanks for your reply.

IMHO I thinks It could be a valid response because if you return a wrapper
with an instance of your responde with values elements inside you should
check in the client the inners elements for avoid an NPE. If you response a
null element inside the wrapper, when you deserialize the response you get a
null element, so you should not check anything inside an instance. 



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-return-null-element-with-Camel-CXF-tp5747194p5747392.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message