5 Replies Latest reply on Apr 9, 2009 10:31 AM by Alexander Meyer

    Failed to Route Reference[<message#>]:RELIABLE to queue

    Stephen Boesch Newbie

      Hi,
      For a queue that is deployed successfully and in fact visible to the JmxConsole -- including viewable messages -- I am seeing the following error from the JmsClient when attempting to do a send:

      javax.jms.JMSException: Failed to route Reference[20275075352295704]:RELIABLE to TestQueue

      Here is the client code

      Queue queue = (Queue) ic.lookup("/queue/TestQueue");
      clog("Queue /queue/TestQueue exists");

      MessageProducer sender = session.createProducer(queue);
      TextMessage message = session.createTextMessage("Hello from client=" + InetAddress.getLocalHost().getHostName());
      sender.send(message);