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

    Inject dependency on JMS ConnectionFactory

    amar slimane Newbie

      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_;