1 Reply Latest reply on May 11, 2003 5:36 AM by Adrian Brock

    Jboss 3.2.1 Cannot reply to Temporary Queue

    steinarrune Newbie

      I have a server with MDBs, and where the client creates a temporary queue for which the server will reply on

      tmpqueue = session.createTemporaryQueue();
      QueueSender send = session.createSender(destinqueue);
      TextMessage tm = session_.createTextMessage(msg);
      tm.setJMSReplyTo(tmpqueue);


      The server picks this queue, perform task and replies

      Queue dest = (Queue)msg.getJMSReplyTo()
      QueueSender sender = session.createSender(dest)TextMessage tm = session.createTextMessage(text)
      sender.send(tm);

      On 3.0.6 all was fine, but now with the 1.1 MQ ... the last line on the server fails with
      01:27:13,343 ERROR [STDERR] java.lang.UnsupportedOperationException: Not constru
      cted with identifyed queue. Usage of method not allowed
      01:27:13,343 ERROR [STDERR] at org.jboss.mq.SpyQueueSender.send(SpyQueueSend
      er.java:66)

      What am I doing wrong?