This example is fully synchronous, which means it will probably break horrible in case it ever receives any messages in an unexpected non sequential order. However, the same issue seems to be present for the other examples.
Any form of communication error will cause exceptions which are not handled, which also seems fine for this example.
As these are just meant as short examples and starting points for communication with dtn7, I think it's fine to gracefully shutdown for any errors occurring.
Thank you for your contribution!
This example is fully synchronous, which means it will probably break horrible in case it ever receives any messages in an unexpected non sequential order. However, the same issue seems to be present for the other examples. Any form of communication error will cause exceptions which are not handled, which also seems fine for this example.