Commit 4dda27e
committed
Loosen Redis-coupled @Autowired in two more *Impl classes
RqueueEndpointManagerImpl and RqueueMessageManagerImpl are public-API
beans constructed regardless of backend, so their constructor-time
autowires fail when the gated Redis beans aren't created on the NATS
path:
- RqueueEndpointManagerImpl.{rqueueUtilityService, rqueueSystemConfigDao}
- RqueueMessageManagerImpl.rqueueLockManager
All three become @Autowired(required=false). The methods that touch
them are admin/dashboard endpoints (pauseUnpauseQueue, deleteAll,
getConfigByName) — Redis-only by design, gated at the controller
layer in earlier commits, so a null reference here is acceptable for
v1 and well outside the e2e produce-and-consume path.
Assisted-By: Claude Code1 parent d03d8cd commit 4dda27e
2 files changed
Lines changed: 7 additions & 3 deletions
File tree
- rqueue-core/src/main/java/com/github/sonus21/rqueue/core/impl
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | | - | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
0 commit comments