rh-messaging / cli-proton-python

Proton Python client provided by QE for testing.
Apache License 2.0
4 stars 6 forks source link

Add --on-release (values: retry, ignore or fail) to cli-proton-python-sender #46

Closed fgiorgetti closed 5 years ago

fgiorgetti commented 5 years ago

When using a network of routers with multiple consumers (on same address) and one of the consumers disconnect, if the delivery is uncertain, the message is released and existing sender implementation is not handling on_released event.

The request is to have an "--on-release" parameter that accepts one of the following choices: "ignore", "retry" or "fail".

This same change has been applied to cli-rhea-sender.