qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: queue create using proton
Date Tue, 17 Feb 2015 22:11:58 GMT
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


Mime
View raw message