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 A607317B09 for ; Wed, 18 Feb 2015 09:09:05 +0000 (UTC) Received: (qmail 50240 invoked by uid 500); 18 Feb 2015 09:09:05 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 50208 invoked by uid 500); 18 Feb 2015 09:09:05 -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 Delivered-To: moderator for users@qpid.apache.org Received: (qmail 29694 invoked by uid 99); 18 Feb 2015 08:14:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Message-ID: <54E4494A.5070300@isle.spb.ru> Date: Wed, 18 Feb 2015 11:11:54 +0300 From: Michael Ivanov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: queue create using proton References: <54E3B9C7.3060700@logit-ag.de> <54E3BCAE.5020801@redhat.com> In-Reply-To: <54E3BCAE.5020801@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks, that worked! 18.02.2015 01:11, Gordon Sim пишет: > On 02/17/2015 09:59 PM, Michael Ivanov wrote: >> Greetings, >> >> I was creating and deleting queues using qpid c++ messenger sending the following >> messages to qpidd: >> >> PROPERTIES: {"method"="request", >> "qmf.opcode"="_method_request", >> "x-amqp-0-10.app-id"="qmf2"} >> DATA: {"_object_id"={"_object_name"="org.apache.qpid.broker:broker:amqp-broker"}, >> "_method_name"="create", >> "_arguments"={"type"="queue", >> "name"="QUEUE_NAME", >> "properties"={"durable"=1}, >> "strict"=true} >> } >> >> The message was sent to qmf.default.direct/broker address using sender created with >> session.createSender("qmf.default.direct/broker"). This worked. When I send same >> method with proton using address amqp://127.0.0.1:5672/qmf.default.direct/broker >> the following error is reported: >> >> LINK ERROR (amqp:not-found) Node not found: qmf.default.direct/broker >> >> Am I doing something wrong or are queue create/delete operations not possible with >> proton? > > At present qpidd does not recognise an address of that form (though it may well do so in the future). However what you can do > with proton messenger is to set the address to 'amqp://127.0.0.1:5672/qmf.default.direct', and the subject to 'broker', and that > should work. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > For additional commands, e-mail: users-help@qpid.apache.org > -- \ / | | (OvO) | Михаил Иванов | (^^^) | Тел.: +7(911) 223-1300 | \^/ | E-mail: ivans@isle.spb.ru | ^ ^ | | --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org