Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requeue message on temporary failure #2086

Closed
sadgit opened this issue Jan 16, 2019 · 2 comments
Closed

Requeue message on temporary failure #2086

sadgit opened this issue Jan 16, 2019 · 2 comments

Comments

@sadgit
Copy link

sadgit commented Jan 16, 2019

As a Function Developer
In order to monitor failures
I need to exit a function with different exit codes
and to control whether a failing message is retried or dead-lettered

Expected behavior

Temporary Failure
Given V.2 Service Bus Trigger
When the client function throws an temporary execution error
Then the message should be retried

Actual behavior

Given V.2 Service Bus Trigger
When the client function throws any exception
Then the function host is restarted
And the telemetry is not sent to AppInsights

Known workarounds

No known workarounds.

@fabiocav
Copy link
Member

This is the default behavior. The information that applies to #2087 applies to this as well, so closing this as a duplicate.

@sadgit
Copy link
Author

sadgit commented Jan 23, 2019

@fabiocav - please re-open

This is a distinct use case from #2087 and specifically relates to triggering a retry - whereas the other issue is specifically regarding signifying a message that should not be re-tried.

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

No branches or pull requests

2 participants