public void execute() {
DomainMetadataRequest request = new DomainMetadataRequest()
.withDomainName(determineDomainName());
log.trace("Sending request [{}] for exchange [{}]...", request, exchange);
DomainMetadataResult result = this.sdbClient.domainMetadata(request);
log.trace("Received result [{}]", result);
Message msg = getMessageForResponse(exchange);
msg.setHeader(SdbConstants.TIMESTAMP, result.getTimestamp());
msg.setHeader(SdbConstants.ITEM_COUNT, result.getItemCount());
msg.setHeader(SdbConstants.ATTRIBUTE_NAME_COUNT, result.getAttributeNameCount());
msg.setHeader(SdbConstants.ATTRIBUTE_VALUE_COUNT, result.getAttributeValueCount());
msg.setHeader(SdbConstants.ATTRIBUTE_NAME_SIZE, result.getAttributeNamesSizeBytes());
msg.setHeader(SdbConstants.ATTRIBUTE_VALUE_SIZE, result.getAttributeValuesSizeBytes());
msg.setHeader(SdbConstants.ITEM_NAME_SIZE, result.getItemNamesSizeBytes());
}