1 Reply Latest reply on Aug 7, 2009 8:07 PM by Brian Abston

    Unknown QueueSender class

    Rastislav Skokan Newbie
      I have xhtml web page with formular. Idea is enter data to formular and then press button Submit. Then data from formular are passed to java bean B1 (not session). This bean B1 should then create JMS message and send it to queue. I have JBoss 5.0.0, seam 2.1.1.GA, JDK1.6

      I added to components.xml:
         <jms:managed-queue-sender name="paymentQueueSender"
          auto-create="true"
          queue-jndi-name="queue/paymentQueue"/>  

      Queue was created and successfully deployed on JBoss 5.0.0

      I added into my bean B1:
        @In
        private QueueSender paymentQueueSender;
       
        @In
        private QueueSession queueSession; 

      Eclipse doesn't know QueueSender class. I have in java bean code import org.jboss.seam.jms.*;
      Shall I import QueueSender class? Which package has QueueSender class?