CommandResult result = command.execute();
Msg msg = new Msg();
body = msg.getBody();
body.setContent(result);
MsgOutInterceptor reqOut =
new HeaderOutInterceptor(
MsgHeaderConstants.CORRELATION_ID,
id,
new HeaderOutInterceptor(
MsgHeaderConstants.DEST_CONNECTOR,
getName(),
new HeaderOutInterceptor(
MsgHeaderConstants.DEST_NODES,
srcNode,
out)));
reqOut.push(msg);
}