qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Matos <bruno.ma...@paradigmaxis.pt>
Subject Re: Multiple address sender
Date Wed, 04 Apr 2012 12:51:33 GMT
On Wed, 2012-04-04 at 12:20 +0100, Gordon Sim wrote:
> On 04/04/2012 10:49 AM, Bruno Matos wrote:
> > Hi,
> >
> > I'm publishing messages with different addresses (ex:
> > amp.topic/news.1.soccer, amp.topic/news.2.soccer,
> > amp.topic/news.1.economy, amp.topic/news.2.economy). With the client API
> > using the Session::messageTransfer method the performance was good, now
> > with the messaging API, maybe because the overhead of creating senders
> > for every message, the performance is really bad.
> >
> > Is there a way to send messages with different addresses with the same
> > sender or any other suggestions?
> 
> Yes, because you are sending them all to the same exchange, i.e. 
> amq.topic, you can create a single sender for amq.topic and then set the 
> subject of each message as appropriate (e.g. news.1.soccer, 
> news.2.economy etc)

Thank you Gordon, I think I missed that in documentation.

Regards.

-- 
Bruno Matos


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message