Hacker News new | ask | show | jobs
by m_0x 976 days ago
In Quarkus, can you inject different beans depending on configuration?
1 comments

Yes, either @IfBuildProfile/@DefaultBean if your logic depends on build profile, or @LookupIfProperty/@LookupUnlessProperty if it depends on property value