Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 633BC9292 for ; Wed, 4 Apr 2012 13:17:34 +0000 (UTC) Received: (qmail 11724 invoked by uid 500); 4 Apr 2012 13:17:34 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 11636 invoked by uid 500); 4 Apr 2012 13:17:34 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 11625 invoked by uid 99); 4 Apr 2012 13:17:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 13:17:34 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajith77@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-ob0-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 13:17:28 +0000 Received: by obbeh20 with SMTP id eh20so299832obb.15 for ; Wed, 04 Apr 2012 06:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=FFgMVlLgSz4Wu+3IqYTbQkj/qwrKe2NCG8l4la8lEWo=; b=mMROxjTVWKYXTxfcddEvf0B+tNceJQEZ15YUgKaM9AC67y2nR1sxy5AOYmLEIy1VKV btAudC9/AQd6toY62p3hwYMJpwxMusvHO0AUhxUmow7vvG5jKoxPiocmlu8VNC5SAt3O C46fQcceEyJeoW173mvbYqnM1yNA3Evh7W8VNq+YE95nseBRW1FsFlPmad5jgajiW5oA 63GyrbMHCYdecXFVQ+4Zwy3FI3Tk98agDGKNe5cdnpjN256LQimDf6sZBZmxDT7n3yc1 RruKaz6a1uNglQ++fiXII32p4WGpUa4Hpp6/UOeMIc7H96NTsPsPGf2Z4bZQ5LzgcgcY MCqQ== MIME-Version: 1.0 Received: by 10.182.192.36 with SMTP id hd4mr24847395obc.60.1333545428146; Wed, 04 Apr 2012 06:17:08 -0700 (PDT) Received: by 10.182.35.167 with HTTP; Wed, 4 Apr 2012 06:17:08 -0700 (PDT) In-Reply-To: <1333543893.2218.51.camel@cratus.office.paradigmaxis.pt> References: <1333532991.2218.50.camel@cratus.office.paradigmaxis.pt> <4F7C2E83.7090800@redhat.com> <1333543893.2218.51.camel@cratus.office.paradigmaxis.pt> Date: Wed, 4 Apr 2012 09:17:08 -0400 Message-ID: Subject: Re: Multiple address sender From: Rajith Attapattu To: users@qpid.apache.org, bruno.matos@paradigmaxis.pt Content-Type: multipart/alternative; boundary=14dae9399b5b8959c104bcda3d02 X-Virus-Checked: Checked by ClamAV on apache.org --14dae9399b5b8959c104bcda3d02 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Apr 4, 2012 at 8:51 AM, Bruno Matos wrote: > 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. > > I believe this is missing in the docs. We need to add an example in the programming guide. > Regards. > > -- > Bruno Matos > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > For additional commands, e-mail: users-help@qpid.apache.org > > --14dae9399b5b8959c104bcda3d02--