2 Replies Latest reply on Jul 1, 2009 8:19 AM by slimamar

    Inject dependency on JMS ConnectionFactory

    slimamar

      Hello,

      We 're using JBAS 5.0.0.GA, and we inject a JMS administrative resource (ConnectionFactory) in an ejb session and an ejb service. This works fine.

      When we're upgrading to JBAS 5.1.0.GA, only the injection to an ejb session woks and for the ejb service we have a reference to the null object.

      Is it a bug ?

      @Service
      @Management(IEJBManagement.class)
      @Remote(IServeurConnexion.class)
      public class ServeurConnexion extends ServeurEJB implements IEJBManagement, IServeurConnexion
      {
       @Resource(mappedName="ConnectionFactory")
       protected TopicConnectionFactory connectionFactory_;