I have the following problem that i want to solve with MDB, but i don´t know who to do it.
Image that i have 1 million clients orders that i want to process at some time.
I want to generate on a mdb, messages to process later something.
But i want to process several messages at same time, but for a client it has to sequencial.
send message client 1 process data 1
send message client 1 process data 2
send message client 2 process data 1
send message client 3 process data 1
I want that the flow is the following:
process client 1, data 1
process client 2, data 1
process client 3, data 1
end process client 1, data 1
process client 1, data 2
end process client 2, data 1
end process client 3, data 1
end process client 1, data 2
How can i do it?
I have a similar requirement. I don't mind if messages for a client are processed out of order, but I don't want multiple message for a single client to be processed concurrently.
Unfortunately I haven't found an easy way to do this, so if you ever solve your requirement, please let me know!