2 Replies Latest reply on Feb 27, 2007 12:37 PM by Joao Viragine

    Can´t inject queueSession component

    Joao Viragine Newbie

      I?m trying to inject a queueSession in my stateless session bean(jmsMessageProducer):


      @In
      private QueueSession queueSession;



      but get:

      Exception during request processing: In attribute requires value for component: jmsMessageProducer.queueSession

      In seam?s component.xml (from jboss-seam.jar):
      <factory scope="stateless" auto-create="true" name="queueSession" value="#{org.jboss.seam.jms.queueSession}"/>
      

      So, I don?t need create=true

      Even put create=true the errors occurs

      Any idea?

      Cheers,

      Joao Paulo