Host dies, option to not to process the existing message in the queue.

11 views
Skip to first unread message

Kiran

unread,
Sep 28, 2017, 11:43:28 AM9/28/17
to masstransit-discuss

Consumer 1 : Processes order
Consumer 2: get account agreements from source 1
Consumer 3: get account agreements from source 2


Client sends order to consumer 1
Consumer 1 needs to make a call in parallel to consumer 2 and 3. 

When things are good this works fine. But if the host dies the order is reprocessed. Then we have three messages. Message for consumer 1 triggers messages for consumer 2 and 3 causing duplication. 

The question is if the host dies for some reason what is the right way to identify that the message should not be reprocessed. i.e consumer 1 message should be processed but consumer 2 and 3 should not be. 

Thanks

Reply all
Reply to author
Forward
0 new messages