Test/reproducer? Also if you mark it as alternative do you have it selected in your test (beans.xml or custom bean must implement Prioritized)?