3 Replies Latest reply on Nov 5, 2012 3:31 PM by Clebert Suconic

    Question about the number of listeners.

    Steve Udovenko Newbie

      I have a server running and listening on a particular addess and responding to reply-to address from the message.

      Clients are:

           a) connecting to HornetQ request the a unique id from the server using clientRequestor that is a blocked call.

           b) then client creates and listens on the address and temp Queue, based on the unique ID it received, it also passes this ID with following messages as reply address, in order to avoid using clientRequestor.

           c) from that moment I use producer and consumer on the client side to send messages in non-blocking manner.

      The questions is, can I prevent malicious client from registering a second consumer on the queue it isn't suppose to listen to.

       

      Best regards,

      Steve