Serial processing of message in multiple consumer

solaceUser Unconfirmed, Member Posts: 1


I am new to solace. My query is that I am sending message to a single queue which is read by 2 consumer pods.

I have a requirement that there are some sets of message they needs to be processed in sequence. There is one field example "userid" in the message body by which we can identify that the message are related or not.

Lets consider we send 4 messages all related as per business scenario meaning all userid are same. Now it could be possible msg1, msg2 can be processed by 1st consumer and msg3, msg4 can be processed by 2nd consumer and sequentially processing is not achieved.

How to achieve sequential processing in this scenario ?

Best Answer