Hello,<div>Here are three steps I want to do:</div><div><ol><li><span style="line-height: normal;">pull some file names and pass them to the downloader (first consumer)</span></li><li><span style="line-height: normal;">AFTER downloading each file pass them to the extracter (second consumer)</span></li><li><span style="line-height: normal;">AFTER extracting pass them to the Inserter (third consumer) to push the data into DB</span></li></ol><div>Now I would like to know how I will manage these "AFTER"s.&nbsp;</div><div>As I understand there are two solutions:</div></div><div><ol><li><span style="line-height: normal;">each consumer must send the message to the producer back about success or failure of the task. If it's done successfully, then producer must send to the next consumer.</span></li><li><span style="line-height: normal;">each consumer must put the message to the next consumer's queue when it's done</span></li></ol><div>Actually I don't know how to realize both of them.</div></div><div>Please, help me to solve this problem. If any of my solutions is right, please tell me how to implement it. Or please explain me the right solution in this situation.</div><div><br></div><div>Thank you.</div>