<p class="MsoPlainText">Hi Guys,</p>
<p class="MsoPlainText"></p>
<p class="MsoPlainText">I need some help in my below requirement for implementing RabbitMQ for .NET. Could you please help me in providing right pointer to API which can be used to achieve this task.<br></p>
<p class="MsoPlainText">1. I am right now working on a batch process in C# .net
with RabbitMQ as the communication channel. </p>
<p class="MsoPlainText">2. I have one producer which runs every 15 minutes and
put the request to the queue with the TaskId (Say 12345) to the Queue.</p>
<p class="MsoPlainText">3. My consumer takes the TaskId from the queue and
process the other logic.</p>
<p class="MsoPlainText"></p>
<p class="MsoPlainText">The consumer normally takes a lot of time to complete the
task around 30 minutes or more, as it is a batch process which do a lot of
activities. So a lot of request are added to the queue by producer modules. So
I am having a lot of back logs for the same task id (12345) over a period of
time.</p>
<p class="MsoPlainText"></p>
<p class="MsoPlainText">So I wanted to implement the logic that if the message
(12345) already exists in the queue (not processed completely) I don’t wanted
to add it to the queue for this id (12345). Could you please send me the
details of the API calls which will give me the list of messages in a queue so
that I can have my own logic to check if the message already exists.</p>
<p class="MsoPlainText"></p><p class="MsoPlainText">Thanks,</p><p class="MsoPlainText"></p>
<p class="MsoPlainText">Bikram.</p>