vert-x3 / vertx-proton

Apache License 2.0
26 stars 26 forks source link

handle arriving deliveries failing message decoding #101

Closed gemmellr closed 5 years ago

gemmellr commented 5 years ago

If a delivery fails to decode as a message, the current receiver handling internally fails to clean up properly and gets into a state where upon further traffic (such as another message) it will first deliver an empty message due to the earlier failed processing. The decode failure should be caught and handled.

gemmellr commented 5 years ago

Oops, bit of a mess above. The initial commits I removed and updated as they weren't meant to get pushed yet. Then I've note noticed I mistagged the proton-j update (meant for #100).

The commits of interest here were d2d2e96550a818103f5107bd41703ed727fc2df9 on master and cherry pick cfd731b7d5736fe15a97734913afa22956f7c46d on 3.7.