Skip to content

Commit 693c790

Browse files
committed
setup on virtual threads (RunOnVirtualThread)
1 parent bcb20c0 commit 693c790

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- setup on virtual threads (RunOnVirtualThread)
13+
1014
## [1.1.0] - 2024-12-28
1115

1216
### Added

src/main/java/org/fugerit/java/demo/graalkus/DocResource.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package org.fugerit.java.demo.graalkus;
22

3+
import io.smallrye.common.annotation.RunOnVirtualThread;
34
import jakarta.enterprise.context.ApplicationScoped;
45
import jakarta.inject.Inject;
56
import jakarta.ws.rs.GET;
@@ -22,6 +23,7 @@
2223
@Slf4j
2324
@Path("/doc")
2425
@ApplicationScoped
26+
@RunOnVirtualThread
2527
public class DocResource {
2628

2729
@Inject

0 commit comments

Comments
 (0)