parent
d93d05ade2
commit
a843aca821
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue