This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Originally posted by John Gregory: /development/MsgTest/src/test/main/Main.java:45: createSender(javax.jms.Queue) in javax.jms.QueueSession cannot be applied to (java.util.Queue) qSender = session.createSender(sQue); /development/MsgTest/src/test/main/Main.java:48: cannot find symbol symbol : method createReceiver(java.util.Queue) location: interface javax.jms.QueueSession qRcver = session.createReceiver(rQue);
It's just a case of importing the wrong package. For the variables rQue and sQue you probably have imported java.util.Queue instead of javax.jms.Queue.