camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomislav Mrkus <>
Subject HazelcastComponentHelper copyHeaders issue
Date Wed, 21 Sep 2011 09:48:43 GMT

due to lazy creation of Out message in DefaultExchange.getOut()
implementation, HazelcastComponentHelper.copyHeaders() method inadvertently
creates an Out message if one has not been set yet, which then creates
problems in CamelInvocationHandler.getBody() which then returns null as a

There should be a check in copyHeaders() to see if Out exists, e.g.:
 // set out headers
 if (ex.hasOut()) {


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message