From d1af745fe05c2e8bb093523b769f4e22606beda7 Mon Sep 17 00:00:00 2001 From: Tim Yates Date: Thu, 15 Feb 2024 13:06:20 +0000 Subject: [PATCH] docs: Add docs around ServiceReadyEvent not being fired (#642) * docs: Add docs around ServiceReadyEvent not being fired Closes #296 * update docs --- src/main/docs/guide/knownIssues.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/docs/guide/knownIssues.adoc b/src/main/docs/guide/knownIssues.adoc index d3ed5ec02..974643368 100644 --- a/src/main/docs/guide/knownIssues.adoc +++ b/src/main/docs/guide/knownIssues.adoc @@ -13,3 +13,10 @@ The body is read from the request input-stream and so attempting to reparse it f With a Netty based server, you can https://docs.micronaut.io/latest/guide/#_management_port[configure a management port for the server]. This is not currently supported with Servlet based servers, and management endpoints (when enabled) will be available on the same port as the main application. + +=== ServiceReadyEvent publication + +When using the Netty runtime, the `ServiceReadyEvent` is automatically published when the server is ready to accept requests. +This is not currently supported with Servlet based servers. + +If you wish to generate a `ServiceReadyEvent` you can do so manually by injecting a `ApplicationEventPublisher` bean and publishing the event yourself when your application is ready.