1 Reply Latest reply on Feb 17, 2008 2:32 PM by Pete Muir

    QueueSession is null when scheduler runs

    Vassilis Petropoulos Newbie


      my stateless bean injects QueueSession, QueueSender.

      @In QueueSender qSender;
      @In QueueSession qSession;

      I setup components.xml according to section 18.2.1 (Messaging in Seam) and everything works fine. The problem is that when my bean is been calling asynchronously (eg from a cron scheduled job) injection is lost and qSession, qSender are null.