camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chubutin <>
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:
Sent from the Camel - Users mailing list archive at

View raw message