if (channelExec != null && channelExec.isConnected()) {
channelExec.disconnect();
}
disconnect();
}
SshResponse sshResp = new SshResponse(outStream.toString(),errStream.toString(),rc);
Message response = new DefaultMessage(getEndpointConfiguration().getXmlMapper().toXML(sshResp))
.setHeader("user", rUser);
onReplyMessage(correlationKey, response);
}