qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Anastasia" <Davide.Anasta...@qualitycapital.com>
Subject RE: Update message content
Date Fri, 02 Mar 2012 15:14:16 GMT
Hi Jakub,
Thanks a lot for your help: it really helped me a lot. However, I
couldn't find a way to filter messages using their subject. For
instance, I created my queue with the name "ticker" and then I sent
messages using routing_key like "instr1", "instr2", and so on.
Unfortunately, on the receiver side I still receive all the messages. 


-----Original Message-----
From: Jakub Scholz [mailto:jakub@scholz.cz] 
Sent: 29 February 2012 10:55
To: users@qpid.apache.org
Subject: Re: Update message content


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
where the LVQ functionality is described.


On Wed, Feb 29, 2012 at 11:39, Davide Anastasia
<Davide.Anastasia@qualitycapital.com> 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: Davide.Anastasia@QualityCapital.com
> <mailto:Davide.Anastasia@QualityCapital.com>
> 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:users-subscribe@qpid.apache.org

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org

View raw message