We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1cb840 commit bdd4288Copy full SHA for bdd4288
1 file changed
example/example_svc/src/main/java/com/github/cadecode/uniboot/example/svc/job/XxJobDemoJob.java
@@ -0,0 +1,22 @@
1
+package com.github.cadecode.uniboot.example.svc.job;
2
+
3
+import com.xxl.job.core.handler.annotation.XxlJob;
4
+import lombok.extern.slf4j.Slf4j;
5
+import org.springframework.stereotype.Component;
6
7
+/**
8
+ * xxl-job demo
9
+ *
10
+ * @author Cade Li
11
+ * @since 2023/11/10
12
+ */
13
+@Slf4j
14
+@Component
15
+public class XxJobDemoJob {
16
17
+ @XxlJob("DemoJobHandleTest1")
18
+ public void handleTest1() {
19
+ log.info("XxJobDemoJob handleTest1");
20
+ }
21
22
+}
0 commit comments