Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7395

Allow to provide deployment dependency to JNDI resource

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 10.1.0.Final
    • Server

      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.

            bstansbe@redhat.com Brian Stansberry
            mnovak1@redhat.com Miroslav Novak
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: