2 Replies Latest reply on Oct 25, 2012 4:00 PM by Steve Udovenko

    Synchronization on producer.send(message)

    Steve Udovenko Newbie

      Dear All,

       

      I am quite new to HQ and would like to ask a question:

       

      I have a multiple thead situation, when multiple threads can potentially make a call to the same producer.send(message); at the same moment.

       

      Would that be a problem? Can HQ handle this? Is it syncronized in HQ or HQ can handle these request in parallel?

       

      The communication is async, the queue is temporary, the messages I send are non durable and require no confirmation.

      My goal is to submit as many of them as possible using just ONE HQ session.

       

      I appreciate your feedback on this topic.

       

      Best regards,

      Steve