Skip to content

Conversation

DanielePalaia
Copy link
Contributor

@DanielePalaia DanielePalaia commented Jan 21, 2025

This closes #22

Adding this info on publishing in order to know the outcome of the Delivery

print("message accepted")
if status.RELEASED:
print("message not routed")
if status.REJECTED:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Status REJECTED should contain an optional error or description.

@DanielePalaia DanielePalaia added this to the 0.1.0-alpha.2 milestone Jan 22, 2025
@DanielePalaia
Copy link
Contributor Author

DanielePalaia commented Jan 27, 2025

In Publish there was a bug as when publishing messages we need to setup link.snd_settle_mode to be unsettled, I also added that fix

@DanielePalaia
Copy link
Contributor Author

I'll merge this one for the moment as I may need to test the connection close scenario, I'm not able to find the optional field for the moment but we can have a look later on

@DanielePalaia DanielePalaia merged commit d3d93ec into main Jan 28, 2025
1 check passed
@DanielePalaia DanielePalaia deleted the return_delivery_status_in_publisher branch January 28, 2025 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publisher.Publish doesn't return Delivery status of the message
2 participants