context.executeAsync(new ManagementRequestContext.AsyncTask<OperationExecutionContext>() {
@Override
public void execute(final ManagementRequestContext<OperationExecutionContext> context) throws Exception {
final OperationExecutionContext exec = context.getAttachment();
final ManagementRequestHeader header = ManagementRequestHeader.class.cast(context.getRequestHeader());
final ManagementResponseHeader response = new ManagementResponseHeader(header.getVersion(), header.getRequestId(), null);
final InputStream is = exec.getOperation().getInputStreams().get(index);
try {
final ByteArrayOutputStream bout = copyStream(is);
final FlushableDataOutput output = context.writeMessage(response);
try {