Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8524389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:40:30+00:00 2026-06-11T07:40:30+00:00

RabbitMQ + Web Stomp is awesome. However, I have some topics I would like

  • 0

RabbitMQ + Web Stomp is awesome. However, I have some topics I would like secure as read-only or write-only.

It seems the only mechanism to secure these are with rabbitmqctl. I can create a vhost, a user and then apply some permissions. However, this is where then Stomp and Rabbit implementation starts to break down.

topics take form: /topic/blah in stomp, which routes to “amq.topic” in Rabbit with a routing key “blah”. It would seem there is no way to set permissions for the routing key. Seems:

rabbitmqctl set_permissions -p vhost user ".*" ".*" "^amq\.topic"

is the best I can do, which is still “ALL” topics. I’ve looked into exchanges as well, but there is no way in javascript to define these on the fly.

Am I missing something here?

Reference: http://www.rabbitmq.com/blog/2012/05/14/introducing-rabbitmq-web-stomp/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T07:40:31+00:00Added an answer on June 11, 2026 at 7:40 am

    Yes, with RabbitMQ-WebStomp you’re pretty much limited to normal RabbitMQ permissions set. It’s not ideal, but you should be able to get basic permission setup right. Take a look at RabbitMQ docs:

    http://www.rabbitmq.com/access-control.html

    Quickly looking at the stomp docs:

    http://www.rabbitmq.com/stomp.html

    yes, you can’t set up permissions for a particular routing key. Maybe you should use the ‘exchange’ semantics, plus bind an exchange with a queue explicitly (ie: don’t use topics):

    /exchange/exchange_name[/routing_key].

    Please, do ask concrete questions about RMQ permissions on rabbitmq-discuss mailing list. People there are really helpful.

    Unfortunately, RMQ permission set is not enough for some more complex scenarios. In this case you may want to:

    • Use STOMP only to read data, and publish messages only using some external AJAX interface that can speak directly to rabbit internally.
    • or, don’t use web-stomp plugin and write a simple bridge between SockJS and RabbitMQ manually. This gives you more flexibility but requires more work.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using RabbitMQ to have worker processes encode video files. I would like
In a rails web app, if I write messages to a queue like rabbitmq,
I'd like to have an ASP.NET application write to a message queue using RabbitMQ's
I have finished installing RabbitMQ using the following RPM http://www.rabbitmq.com/releases/rabbitmq-server/v2.7.1/rabbitmq-server-2.7.1-1.noarch.rpm i installed it like
RabbitMQ now seems to be working correctly. However, when I try python -m celery.bin.celeryd
I would like to learn what are the scenarios/usecases/ where messaging like RabbitMQ can
I am using RabbitMQ with Celery and I have set some custom routing settings
I have a simple RabbitMQ test program randomly enqueuing messages, and another reading them,
I have fresh installation of RabbitMQ on a linux/ubuntu server. Lets say the server
Is that possible to have mutex in RabbitMQ queue, i.e. If a client is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.