For me to avoid duplicate log messages from being sent to the queue,will declaring the queue as LVQ help in identifying and avoiding duplicate messages entering the queue? Kindly let me know. thanks vidhya
vidhya wrote: > > I have a logging system and i am trying to post the logs that i receive to > a messaging queue and using another client that subscribes to this queue > on the broker, i read the messages and send the logs as instant messages. > So when i am posting/sending logs as messages to the message queue i want > to ensure that i dont send the same log twice even on a system crash. > In this context i have two options to explore > 1.if the qpid's message queues can recognize and discard duplicate > messages then just an acknowledgement of successful message transfer is > good enough. > 2. before i post a log message to the queue i should check to ensure that > i don't post the same log message again.Here it would help if i have an > qpid api to find meta information about the last message posted by this > specific client to the queue,or count . > thanks > vidhya > > > Carl Trieloff wrote: >> >> >>>>> I was also interested in knowing how qpid handle duplicate messages or >>>>> multiple copies of same message sent by a client to a queue. >>>>> >>>> There are quite a few options, what are you trying to do? >>>> >>>> >>>> >>> I am not using any option right now.Where can i know more about such >>> options >>> as to how qpid handles duplicate messages. >>> >> >> Some details on what you want to do would be great... then I can write a >> shorter response :-) >> >> regards >> Carl. >> >> >> >> >> > > -- View this message in context: http://n2.nabble.com/Qpidc-messageTransfer-Api-doubt-tp3126327p3168697.html Sent from the Apache Qpid developers mailing list archive at Nabble.com. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
