21
Views
1
Comments
[Azure Web PubSub]  Azure Web PubSub Websocket Library Frontend Handeling
azure-web-pubsub
Service icon
Forge asset by Stefan Weber

hi,

I'm using azure web pub sub for my project message sending are going well till token's life span after expiry of token life span. I'll regenerate and reassign to the variable which already have URL. But here the web socket onmessage not trigger after that how can i handle that please tell me.

And then in my application there are two use cases one is agent side and another one is client side when any one of the client messages If in case the web socket is expired generate new web socket URL and the send messages via that URL after successfully sent message via newly generated URL. I need to show that message to all of the agents. whether the agent is in offline the message should be in queue and show when the agent come back in online I want to make this happen but what's happening is message triggers happened when the agent is in offline it's not in queue.

Thank you in advance 

regards,

SONA. 

2021-10-09 07-57-44
Stefan Weber
 
MVP

Hi, I guess you refer to the client component I provide with the demo. Note that this is just an example and it does not provide re instantianting the websocket connection on token update. You have to create your own implementation if you need token update.

In regards to your second question. No. Azure Web PubSub is a simple fanout service that does not provide queuing, dead letter asf.

Stefan

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.