ATTX-project / provenance-service

ATTX Provenance service for exposing provenance related information.
1 stars 1 forks source link

Handling/logging message related errors with messagebroker #21

Closed jkesanie closed 7 years ago

jkesanie commented 7 years ago

Description

Current implementation leaves the invalid messages to the queue by not acknowledging them and that causes weird errors and would require manual purging of the messages.

Possible solutions:

DoD

Better error handling for services

Testing

Integration testing

blankdots commented 7 years ago
blankdots commented 7 years ago

The basic.ack or basic.reject should come after the processing of the message. The message should be rejected, error logged and if there is an RPC style of communication a reply message sent back.