[rabbitmq-discuss] Help needed for .NET API for RabbitMQ.

Bikram Bhuyan bikrambhuyan at gmail.com
Sat Jan 7 06:58:51 GMT 2012

Hi Eugene,

I am trying to do that. But not sure how to know if the item is already in
the queue. That what I am trying to achieve it. Could you please give some
pointor or logic hot to achieve it?

On Fri, Jan 6, 2012 at 10:31 PM, Eugene Kirpichov <ekirpichov at gmail.com>wrote:

> Hi Bikram,
> Why don't you place the deduplication on producer side? E.g. consumer
> sends back messages that the task has been processed, and the producer only
> puts the task into the queue if the last one has already been processed.
> On Sat, Jan 7, 2012 at 12:14 AM, Bikram Bhuyan <bikrambhuyan at gmail.com>wrote:
>> Hi Guys,
>> 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.
>> 1. I am right now working on a batch process in C# .net with RabbitMQ as
>> the communication channel.
>> 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.
>> 3. My consumer takes the TaskId from the queue and process the other
>> logic.
>> 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.
>> 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.
>> Thanks,
>> Bikram.
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> --
> Eugene Kirpichov
> Principal Engineer, Mirantis Inc. http://www.mirantis.com/
> Editor, http://fprog.ru/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120106/fab6026a/attachment.htm>

More information about the rabbitmq-discuss mailing list