2 Replies Latest reply on Dec 9, 2010 7:58 AM by Osian Hughes

    Message Delivery During Testing

    Osian Hughes Newbie



      I have a test suite that I have written which is using an embedded version of HornetQ.  What I would like to achieve, is that when I post a message through the embedded server, the client who sent the message waits for the message to be received and the processing completed.


      I am unsure if this is to do with acknowledgement?  Or if there are any settings I can set on the ClientSessionFactory to ensure that the sender waits for the processing of the message to complete.


      I am using 2.1.2.Final, and using the core API of HornetQ i.e. the MessageListener.


      Thanks for any tips in advance.