doublefox1981 wrote:
const char* host = argc>1 ? argv[1] : "127.0.0.1";
    int port = argc>2 ? atoi(argv[2]) : 5672;
    Connection connection;

    try {
        connection.open(host, port);
        Session session =  connection.newSession();
        string request_queue = "request";

        // Use the name of the request queue as the routing key
        session.queueDeclare(arg::queue=request_queue);
        session.exchangeBind(arg::exchange="amq.direct", 
arg::queue=request_queue, arg::bindingKey=request_queue);


the broker's exception , it does't mather, but my client block at 
session.queueDeclare call.

Can you send pstack output for the client and broker processes?


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to