2 Replies Latest reply on Mar 2, 2006 4:44 AM by Petr Matejka

    How to inject resources from HA-JNDI?

    Petr Matejka Newbie

      I have a SLSB which sends messages to JMS queue. Everything runs on a cluster, i.e. JMS queue is registered in HA-JNDI and I would like to inject the queue via @Resource to the SLSB:

      1. Is there a way to configure EJB3 contanainer to inject all resources from HA-JNDI instead of local JNDI? Is it a good idea to do it?
      2. If not, is there a way to inject one particular resource from HA-JNDI?
      3. If not, is it ok to remap resources from HA-JNDI to local JNDI and inject them from there? Are there any mbeans available which do this remapping?