Hi, I think the last value queues may be helpful for you. It doesn't change the message content, but it overwrites the older messages with new messages in the queue based on a configured key. We are using it for quite a similar scenario - distribution of some prices, where only the last value for given financial product is important.
You may want to have a look at http://qpid.apache.org/books/0.14/AMQP-Messaging-Broker-CPP-Book/html/ch01s06.html, where the LVQ functionality is described. Regards Jakub On Wed, Feb 29, 2012 at 11:39, Davide Anastasia <[email protected]> wrote: > Hi All, > > Suppose I have a queue where I receive prices for financial instruments, > where every instrument is a topic (instrument1, instrument2, > instrument3... so on) and I want to subscribe to this queue (maybe to a > subset of topics). However, I am not interested in receiving all the > messages, but only the last update: is there a way to constantly change > the content of a certain message (a certain topic in this case) so that > a subscriber at a certain moment of time sees only the last update? > > > > Best regards, > > > > Davide Anastasia > Analyst, Research & Development > > > Quality Capital Management Ltd. > QCM House * Horizon Business Village > No. 1 Brooklands Road > Weybridge * Surrey KT13 0TJ > United Kingdom > > Tel: +44 (0) 1932 334 400 > Fax: +44 (0) 1932 334 415 > Email: [email protected] > <mailto:[email protected]> > > www.qualitycapital.com <http://www.qualitycapital.com/> > > ________________________________ > > This email and any attachments are confidential and intended solely for > the use of the individual(s) to whom it is addressed. > > Any views or opinions presented are solely those of the author and do > not necessarily represent those of Quality Capital Management Ltd. If > you are not the intended recipient, be advised that you have received > this email in error and that any use, dissemination, printing, > forwarding or copying of this email is strictly prohibited. Please > contact the sender if you have received this email in error. You should > also be aware that emails are susceptible to interference and you should > not assume that the contents of this email originated from the sender > above or that they have been accurately reproduced in their original > form. Quality Capital Management Ltd is authorised and regulated by the > Financial Services Authority in the UK and is a member of the National > Futures Association in the US. > > ________________________________ > > > --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
