bunny Questions
2
When set rabbitmq connection in initializer
#config/initializers/rabbitmq.rb
$rabbitmq_connection = Bunni.new "amqp://#{user}:#{pass}@#{host}:#{port}#{vhost}"
$rabbitmq_connection.start
$rabbitmq...
Breed asked 5/10, 2015 at 11:35
2
I'm publishing RabbitMQ messages using Bunny (Ruby) like this:
x.publish("Message !"+n.to_s, :routing_key => 'mychannel')
and subscribing like this:
ch = conn.create_channel
x = ch.topic('f...
Muggins asked 5/11, 2015 at 14:2
1
I am new to RabbitMq. We are evaluating it for production use with rails app, currently for background mailing system. RabbitMq tutorial presents bunny gem. On it's other gem list, there is also sn...
3
Solved
I am trying to write a consumer for an existing queue.
RabbbitMQ is running in a separate instance and queue named "org-queue" is already created and binded to an exchange. org-queue is a durable ...
Underplay asked 16/2, 2016 at 10:33
0
I'm using the Bunny Gem with RabbitMQ on a project so that multiple applications can do RPC calls. I'm struggling to figure out a way to do integration testing with these calls. Sure I can mock and...
Garman asked 8/1, 2016 at 20:45
1
I'm integrating Bunny gem for RabbitMQ with Rails, should I start Bunny thread in an initializer that Rails starts with application start or do it in a separate rake task so I can start it in a sep...
Chlori asked 3/5, 2014 at 21:37
1
Solved
Two queues are bound to a topic exchange with the following routing keys:
Queue A, bound with routing key pattern match *.foo
Queue B, bound with routing key pattern match *.bar
I'd like to add a...
1
Solved
I'm using RabbitMQ as a message queue in a service-oriented architecture, where many separate web services publish messages bound for RabbitMQ queues. Those queues are in turn subscribed to by vari...
1
I was wondering if this is possible. I want to pull a task from a queue and have some work that could potentially take anywhere from 3 seconds or longer (possibly) minutes before an ack is sent bac...
Sepia asked 24/6, 2014 at 0:30
1
© 2022 - 2024 — McMap. All rights reserved.