private void writeResponse(DeploymentMessage message, String errorDesc) {
		try {
			String requestId = message.getRequestId();
			if (StringUtils.hasText(requestId)) {
				logger.debug("Processed deployment request " + requestId);
				String resultPath = Paths.build(Paths.DEPLOYMENTS, Paths.RESPONSES, requestId,
						errorDesc == null
								? ZKDeploymentMessagePublisher.SUCCESS
								: ZKDeploymentMessagePublisher.ERROR);
				logger.debug("creating result path {}", resultPath);
				zkConnection.getClient().create().forPath(resultPath,
						errorDesc == null ? null : errorDesc.getBytes());
			}
		}
		catch (Exception e) {
			logger.info("Could not publish response to deployment message", e);
		}
	}
Write the deployment message response.

@param message    deployment message
@param errorDesc  error description if an error occurred processing
                  the request
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/server/admin/deployment/zk/DeploymentMessageConsumer.java