| 68 | client(const std::string &u, const std::vector<std::string>& r) : url(u), requests(r) {} |
| 69 | |
| 70 | void on_container_start(proton::container &c) override { |
| 71 | sender = c.open_sender(url); |
| 72 | // Create a receiver requesting a dynamically created queue |
| 73 | // for the message source. |
| 74 | receiver_options opts = receiver_options().source(source_options().dynamic(true)); |
| 75 | receiver = sender.connection().open_receiver("", opts); |
| 76 | } |
| 77 | |
| 78 | void send_request() { |
| 79 | proton::message req; |
nothing calls this directly
no test coverage detected