qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: Multiple address sender
Date Wed, 04 Apr 2012 11:20:35 GMT
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)

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


Mime
View raw message