if i have one messagequeue and multiple standalone programs which try to receive messages from this queue via
sess.receive();
which clientprogram will actually receive the message? how is this decided?
thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
All things being equal, any of the receivers could receive the message (but only one of them).
Architecturaly speaking, you should not care which receiver gets the message.
If you have different message handling in the receivers, you should consider using selectors or different queues.