Vadim L Posted April 7, 2021 Posted April 7, 2021 I faced odd behavior. We have one event producer and two clients. These two clients have different roles but must receive the same events (order does not matter) from the same queue. And I faced that a message will be consumed by only one client. Is is possible to receive the same massege on two clients
Eric Cho Posted June 8, 2021 Posted June 8, 2021 Hi Vlamm, The two clients can receive the same event from a topic, not from a queue. Here is a short description of those twodestination types; Topic In JMS a Topic implementspublish and subscribesemantics. When you publish a message it goes to all the subscribers who are interested. Queue A JMS Queue implementsload balancersemantics. A single message will be received by exactly one consumer. Regards, Eric
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now