... | ... | @@ -218,9 +218,8 @@ try { |
|
|
}
|
|
|
std::cout << "Received " << message.value() << std::endl;
|
|
|
}
|
|
|
catch (const InitException& e) {
|
|
|
std::cout << "Subscriber cannot be created" << std::endl;
|
|
|
}
|
|
|
catch (const InitException& e) {
|
|
|
std::cout << "Subscriber cannot be created" << std::endl;
|
|
|
}
|
|
|
```
|
|
|
The subscriber is created by connecting to the publisher named "the-publisher" living in the *PubApp* application. Once connected, the subscriber will receive the messages until an emty message arrives. Here again the pre-condition for the creation of the subscriber is that *This* must have been initialized.
|
... | ... | |