Yes, we did update (I work for Payara) to instantiate MDBs the way you suggest in your comment on WELD-2404 (and like Wildfly does it). Glassfish still uses 3.0.0.Final, so it didn't hit this. But I'm not sure whether WELD-2404 was a valid issue (and quotes should have been put around problem rather than workaround ), and why MDBs should have different interception chains than sessions beans. If I remember well, it wasn't really possible for container to e. g. provide correct MessageContext for that interception step. For me it is no longer important to have a fix for this, as we moved away from using createInjectionTarget for this purpose, and using it for MDBs probably wasn't correct thing to do in first place. So I'm ok with this behavior if there are others users of that API that rely on it. |