How to use Service Bus session state from azure function?

Andrew Syrov 46 Reputation points
2021-11-18T19:02:34.16+00:00

Can anyone point me to an example on how to use Service Bus session state with Azure functions?

I'm looking for a way to receive session state together with trigger message and update it with output message (binding).

Thanks!

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
544 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,249 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Grmacjon-MSFT 15,851 Reputation points
    2021-11-18T22:08:39.78+00:00

    Hi @Andrew Syrov ,

    You can find the example you're looking for in this Azure doc: Azure Service Bus trigger for Azure Functions.

    Please let us know if you have further questions.

    Hope that helps.

    Thanks,
    Grace

    ------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--


  2. Sean Feldman 211 Reputation points MVP
    2022-04-08T02:24:11.187+00:00

    Out of the box you can't. If you're using the In-Proc SDK, you could inject message receiver and retrieve session state.

    0 comments No comments