This commit is contained in:
Redkale
2020-07-31 12:00:27 +08:00
parent f4a2f2af94
commit abb790da54
2 changed files with 3 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ public class HttpMessageProcessor implements MessageProcessor {
servlet.execute(request, response);
} catch (Throwable ex) {
if (message.getResptopic() != null && !message.getResptopic().isEmpty()) {
HttpMessageResponse.finishHttpResult(finest, message, callback, producer.getProducer(message), message.getResptopic(), new HttpResult().status(500));
HttpMessageResponse.finishHttpResult(finest, message, callback, producer.getProducer(message), message.getResptopic(), new HttpResult().status(500));
}
logger.log(Level.SEVERE, HttpMessageProcessor.class.getSimpleName() + " process error, message=" + message, ex);
}
@@ -102,6 +102,7 @@ public class HttpMessageProcessor implements MessageProcessor {
this.cdl.await(30, TimeUnit.SECONDS);
} catch (Exception ex) {
}
this.cdl = null;
}
}

View File

@@ -83,6 +83,7 @@ public class SncpMessageProcessor implements MessageProcessor {
this.cdl.await(30, TimeUnit.SECONDS);
} catch (Exception ex) {
}
this.cdl = null;
}
}