Davide Bracaglia
Davide Bracaglia

Reputation: 169

Claim-check with Service Bus - node.js

I want implement the claim-check workflow with Azure Service Bus: claim check

Is it possible to do that using node.js? I just found only .net examples and I cant see anything in @azure/service-bus node package that seems to refer to claim check.

Anyone that had the same problem?

Upvotes: 0

Views: 144

Answers (1)

Sean Feldman
Sean Feldman

Reputation: 26012

A claim check pattern can be implemented using any language as long as there's support to hook into the pipeline. For a long time, this pattern was not easy not possible to implement with .NET either as the previous .NET SDK did not provide a way to hook into the sending/receiving. The new .NET SDK had that consideration from the beginning. Almost. Once it was implemented, claim-check pattern implementation was a no brainer.

If you're looking to implement a claim check pattern as a plugin, it would need to have a pipeline concept support in the Node.js SDK.. You can raise an issue for the Service Bus library to request it or contribute yourself.

Another alternative is to abstract sending and receiving operations with your custom implementation that would use some kind of storage for the payloads.

Upvotes: 1

Related Questions