With Spring Boot 3.x, we could wrap Declarative RestClient Interfaces with Aspects / AOP.
This is especially valuable with Resilience4J + Circuitbreaker.
While in Boot 3.x this worked in JVM + Native Mode,
its not working any more in Native Mode in Boot 4.0.
Please see the minmal reproducer attach
ed, where i used my own annotation to avoid a complex setup with resilience4j.
IN JVM Mode this will put out on startup "### inside simple Circuit Breaker Aspect"
And this is not working in AOT / Native mode
Archiv.zip