From users-return-19948-archive-asf-public=cust-asf.ponee.io@qpid.apache.org Wed Feb 20 10:14:15 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4E1CA18075F for ; Wed, 20 Feb 2019 11:14:15 +0100 (CET) Received: (qmail 46820 invoked by uid 500); 20 Feb 2019 10:14:14 -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 46802 invoked by uid 99); 20 Feb 2019 10:14:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2019 10:14:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0305B189F96 for ; Wed, 20 Feb 2019 10:14:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.5 X-Spam-Level: X-Spam-Status: No, score=-1.5 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id xz5QHpoa_e0t for ; Wed, 20 Feb 2019 10:14:08 +0000 (UTC) Received: from mailhost1.indra.es (mail04.indra.es [94.126.240.24]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 99A7862443 for ; Wed, 20 Feb 2019 10:08:15 +0000 (UTC) Received: from MadMail13.indra.es (172.22.244.17) by MadEdge04.indra.es (172.22.231.73) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 20 Feb 2019 11:08:09 +0100 Received: from [172.18.124.160] (172.18.124.160) by MadMail13.indra.es (172.22.244.17) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 20 Feb 2019 11:08:08 +0100 Subject: Re: Problem sending to exchange To: References: <98014c4d-5b31-7b06-850d-aeaa91494b72@redhat.com> From: Jose Alberto Fernandez Parejo Message-ID: Date: Wed, 20 Feb 2019 10:07:02 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <98014c4d-5b31-7b06-850d-aeaa91494b72@redhat.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.18.124.160] X-ClientProxiedBy: MadMail06.indra.es (172.22.244.10) To MadMail13.indra.es (172.22.244.17) Thank you so much. We have changed and it is working On 02/20/2019 09:23 AM, Gordon Sim wrote: > On 20/02/2019 9:10 am, Jose Alberto Fernandez Parejo wrote: >> We are using rabbitmq broker and we would like to use qpid-cpp-1.38.0 >> API to send/receive message to/from rabbitmq broker. >> When we send to a queue works ok. But the problem is when we try to send >> to a exchange.Is there any way to send to an exchange from >> qpid-cpp-1.38.0 to rabbitmq broker? > > You don't describe what the problem you are having is. To send to an > exchange on rabbitmq via the 1.0 plugin[1] you use the '/exchange/' > prefix to the address. The qpid::messaging API treats the '/' as > special, separating the address from a 'subject'. To avoid that you > can quote the address. So e.g. try sending to: > "'/exchange/my-exchange/'" or "'/exchange/my-exchange/my-key'" > > The rabbitmq 1.0 plugin also recognises '/topic/' prefix is a shortcut > for the amq.topic standard exchange so you could also do > "'/topic/my-key'" > > > [1] https://github.com/rabbitmq/rabbitmq-amqp1.0/blob/v3.7.12/README.md > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > For additional commands, e-mail: users-help@qpid.apache.org > > . > ________________________________ Este correo electr=C3=B3nico y, en su caso, cualquier fichero anexo al mism= o, contiene informaci=C3=B3n de car=C3=A1cter confidencial exclusivamente d= irigida a su destinatario o destinatarios. Si no es vd. el destinatario ind= icado, queda notificado que la lectura, utilizaci=C3=B3n, divulgaci=C3=B3n = y/o copia sin autorizaci=C3=B3n est=C3=A1 prohibida en virtud de la legisla= ci=C3=B3n vigente. En el caso de haber recibido este correo electr=C3=B3nic= o por error, se ruega notificar inmediatamente esta circunstancia mediante = reenv=C3=ADo a la direcci=C3=B3n electr=C3=B3nica del remitente. Evite imprimir este mensaje si no es estrictamente necesario. This email and any file attached to it (when applicable) contain(s) confide= ntial information that is exclusively addressed to its recipient(s). If you= are not the indicated recipient, you are informed that reading, using, dis= seminating and/or copying it without authorisation is forbidden in accordan= ce with the legislation in effect. If you have received this email by mista= ke, please immediately notify the sender of the situation by resending it t= o their email address. Avoid printing this message if it is not absolutely necessary. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org