qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mottese <mott...@sandia.gov>
Subject QMF Request from Qpid JMS
Date Wed, 07 Jun 2017 20:03:09 GMT
I am using JMS 0.11.1 (Have to use Java 7) and was wondering how I can use
QMF to get a list of bindings from the broker. Using C++ I would have done:

        Sender s = session.createSender("qmf.default.direct/broker");

    	Message request;
        request.setContentType("amqp/map");
        request.setProperty("x-amqp-0-10.app-id", "qmf2");
        request.setProperty("qmf.opcode", "_query_request");
        Variant::Map schemaId;
        schemaId["_class_name"] = "binding";
        Variant::Map content;
        content["_what"] = "OBJECT";
        content["_schema_id"] = schemaId;

        request.setContentObject(content);
        s.send(request);

How would I do this via JMS? Thanks



--
View this message in context: http://qpid.2158936.n2.nabble.com/QMF-Request-from-Qpid-JMS-tp7663863.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Mime
View raw message