Commit c6d4cb8
committed
Add RedisBackendCondition for Spring conditional bean wiring
Portable Spring Condition that matches when rqueue.backend resolves
to REDIS (default when the property is absent or unparseable).
Companion to the existing rqueue-spring NatsBackendCondition; lives in
rqueue-core so both Boot and non-Boot modules can reuse it without
crossing module boundaries.
Per-bean gating (applying @conditional(RedisBackendCondition.class) to
every Redis-shaped bean factory) is staged separately; this commit
adds only the condition class itself.
Assisted-By: Claude Code1 parent 3c98eba commit c6d4cb8
1 file changed
Lines changed: 39 additions & 0 deletions
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
0 commit comments