5 Replies Latest reply on Sep 13, 2010 3:04 PM by Dominik Klaholt

    HornetQDestination implements Serializable but is actually not serializable

    Dominik Klaholt Newbie

      The following exception is thrown because of the private field 'session':


      java.io.NotSerializableException: org.hornetq.jms.client.HornetQSession


      My question is: What excactly is the error here? Is it that HornetQDestination implements Serializable or is it that HornetQSession is not serializable? What is the intended behavior?


      My aim is to pass a temporary queue to a process within another JVM (without sending a message and using JMSReplyTo)... without HornetQDestination being serializable, that's not possible.