4 Replies Latest reply on Aug 27, 2009 4:30 PM by Clebert Suconic

    BETA5 - setObjectProperty(

    Simon Temple Newbie

      The manual states that:

      Setting the OutputStream could also be done in a non blocking way using the property JMS_HQ_InputStream.

      // This won't wait the stream to finish. You need to keep the consumer active.
      messageReceived.setObjectProperty("JMS_HQ_InputStream", bufferedOutput);


      But you get a:

      javax.jms.JMSException: MessageNotWriteableException - Message is read-only
      


      The method setObjectProperty in HornetQMessage does not support "the non blocking way".

      Is is a problem with the documentation or the implementation?

      wdyt?