stomp-js / stompjs

Javascript and Typescript Stomp client for Web browsers and node.js apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Specify temporary queue name for subscription

h0jeZvgoxFepBQ2C opened this issue · comments

Hi,

I just wanted to ask if it is possible to specify the name for the temporary auto-delete queues, which are bound to the destination when I subscribe to a destination.

The reason is, that I would like to specify a fine graded JWT permission control, so I would like to give permission f.e. to "stomp-subscriptions-user123-abcde" and therefore I would like to call the temporary queue name not stomp-subscription-randomstring, but "stomp-subscriptions-user123-randomstring".

Is this possible?
Would be great if you could open the discussions on github, since I think this question is not really an issue but a discussion/question topic?

Please use StackOverflow for these. Also, I think this question should be tagged to the broker you are using.

Sorry, i use rabbitmq as my broker.

I only found in the document that you can specify the subscription ID, but couldn't find anything related to the queue name, so i thought I just ask here and provide a PR in case there is something which can be added to the documentation.

So I guess you can't help me here @kum-deepak ?