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

IMessageSession is not accessible for Recoverability/Startup #298

Open
lailabougria opened this issue Sep 6, 2021 · 0 comments
Open

IMessageSession is not accessible for Recoverability/Startup #298

lailabougria opened this issue Sep 6, 2021 · 0 comments

Comments

@lailabougria
Copy link

The IMessageSession is not accessible in Startup or Recoverability scenarios.

All send-operations need to occur as part of the message processing pipeline or an Azure Trigger that can make use of the IFunctionEndpoint object.

Scenario:
Let's consider a scenario in which we want to hook into the OnMessageSentToErrorQueue method to Publish a message right before a message is moved to the error queue. In that case, we don't have access to the IMessageSession.

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

1 participant