Message consumption in clustered environment with WebSphereMQ

68 Views Asked by At

I am trying to configure a Spring JmsListener on a queue hosted on WebSphereMQ. WebSphereMQ is in clustered environment. My question is that since it is in a clustered environment will messages consumed from the queue be multiple times or just one time?

1

There are 1 best solutions below

0
On

I would expect the message to be consumed just once. If the message was consumed multiple times that would violate the fundamental point-to-point semantics of a JMS queue. JMS brokers, even if they are clustered, should still enforce basic JMS semantics.