From de50dec3cff8e7fe3023198365660a598d0720fb Mon Sep 17 00:00:00 2001 From: melloware Date: Sat, 22 Jun 2024 11:24:40 -0400 Subject: [PATCH] Quartz fix to use correct async constant (cherry picked from commit 990df51a62f0c703ca2a0100d8a75e0ac7c03f15) --- .../java/io/quarkus/quartz/runtime/QuartzSchedulerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/quartz/runtime/src/main/java/io/quarkus/quartz/runtime/QuartzSchedulerImpl.java b/extensions/quartz/runtime/src/main/java/io/quarkus/quartz/runtime/QuartzSchedulerImpl.java index 7ea756c6a5fb4..d6632e774baaf 100644 --- a/extensions/quartz/runtime/src/main/java/io/quarkus/quartz/runtime/QuartzSchedulerImpl.java +++ b/extensions/quartz/runtime/src/main/java/io/quarkus/quartz/runtime/QuartzSchedulerImpl.java @@ -979,7 +979,7 @@ public boolean isBlocking() { if (executionMetadata.taskClass() != null) { jobBuilder.usingJobData(EXECUTION_METADATA_TASK_CLASS, executionMetadata.taskClass().getName()); } else if (executionMetadata.asyncTaskClass() != null) { - jobBuilder.usingJobData(EXECUTION_METADATA_TASK_CLASS, executionMetadata.asyncTaskClass().getName()); + jobBuilder.usingJobData(EXECUTION_METADATA_ASYNC_TASK_CLASS, executionMetadata.asyncTaskClass().getName()); } if (executionMetadata.skipPredicateClass() != null) { jobBuilder.usingJobData(EXECUTION_METADATA_SKIP_PREDICATE_CLASS,