4 Replies Latest reply on Jun 10, 2013 9:49 AM by Henrik W Lund

    org.hornetq.jms.client.HornetQTopic cannot be cast to javax.jms.Queue

    Henrik W Lund Newbie

      I'm running the HornetQ libraries version 2.1.1-Final in Weblogic 10.3.5, and the above error appears whenever attempting to access the topic on the HornetQ server.

       

      In Weblogic, I've configured the HornetQ server as a foreign JMS server, which is basically just a mapping of local JNDIs to remote JNDIs. There's no explicit way of saying whether a remote destination is a queue or a topic, so I'm a bit perplexed as to why this classcastexception is appearing.

       

      Any ideas?