} else if (directConsumerNotAvailableException != null) { future.completeExceptionally(new RequestRejectedException(exchange.getException())); } else { future.completeExceptionally(exchange.getException()); try (MDCCloseable mdc = Logging.withContextMapCloseable(clientContextMap)) { future.completeExceptionally(new RequestRejectedException(e));
} else if (directConsumerNotAvailableException != null) { future.completeExceptionally(new RequestRejectedException(exchange.getException())); } else { future.completeExceptionally(exchange.getException()); try (MDCCloseable mdc = Logging.withContextMapCloseable(clientContextMap)) { future.completeExceptionally(new RequestRejectedException(e));