[jboss-jira] [JBoss JIRA] (WFLY-7395) Allow to provide deployment dependency to JNDI resource

Miroslav Novak (JIRA) issues at jboss.org
Thu Oct 27 08:50:00 EDT 2016


Miroslav Novak created WFLY-7395:
------------------------------------

             Summary: Allow to provide deployment dependency to JNDI resource
                 Key: WFLY-7395
                 URL: https://issues.jboss.org/browse/WFLY-7395
             Project: WildFly
          Issue Type: Feature Request
          Components: Server
    Affects Versions: 10.1.0.Final
            Reporter: Miroslav Novak
            Assignee: Jason Greene


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:
{code}
@Resource(mappedName = "java:/jms/queue/OutQueue")
private Queue outQueue;
{code}

then it would not get deployed when OutQueue is not present.



--
This message was sent by Atlassian JIRA
(v7.2.2#72004)


More information about the jboss-jira mailing list