Revert "Polish"

This reverts commit 25eb3c8c18.
This commit is contained in:
Moritz Halbritter 2023-08-03 17:25:15 +02:00
parent d93d05ade2
commit a843aca821
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ public class JmsHealthContributorAutoConfiguration
}
private static SimpleAsyncTaskExecutor getTaskExecutor(Environment environment) {
SimpleAsyncTaskExecutor taskExecutor = new SimpleAsyncTaskExecutor("jms-health-indicator-");
SimpleAsyncTaskExecutor taskExecutor = new SimpleAsyncTaskExecutor("jms-health-indicator");
if (Threading.VIRTUAL.isActive(environment)) {
taskExecutor.setVirtualThreads(true);
}

View File

@ -59,7 +59,7 @@ public class JmsHealthIndicator extends AbstractHealthIndicator {
*/
@Deprecated(since = "3.2.0", forRemoval = true)
public JmsHealthIndicator(ConnectionFactory connectionFactory) {
this(connectionFactory, new SimpleAsyncTaskExecutor("jms-health-indicator-"), Duration.ofSeconds(5));
this(connectionFactory, new SimpleAsyncTaskExecutor("jms-health-indicator"), Duration.ofSeconds(5));
}
/**