| 110 | |
| 111 | namespace { |
| 112 | void check_arg(const std::string &value, const std::string &name) { |
| 113 | if (value.empty()) |
| 114 | throw std::runtime_error("missing argument for \"" + name + "\""); |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | /// Connect to Service Bus queue and retrieve messages in a particular session. |