Details
-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
10.1.0.Final
Description
For JBoss AS 6 there was ejb annotation @org.jboss.annotation.ejb.Depends which allowed to set dependency to JNDI resource. Currently there seems to be no replacement in Wildfly 10.x
For example if EJB contains dependency to queue registered in JNDI:
@Resource(mappedName = "java:/jms/queue/OutQueue") private Queue outQueue;
then it would not get deployed when OutQueue is not present. Purpose of this feature request is to add possibility to provide such dependency in the way as @org.jboss.annotation.ejb.Depends did.