rabbitmq « rabbitmq « Java Enterprise Q&A





1. In a FIFO Qeueing system, what's the best way the to implement priority messaging    stackoverflow.com

For message-oriented middleware that does not consistently support priority messages (such as AMQP) what is the best way to implement priority consumption when queues have only FIFO semantics? The general ...

2. Idempotency Barrier for messaging    stackoverflow.com

A recent presentation I saw regarding RabbitMQ mentioned the use of something called an "idempotency barrier" for message de-duplication. Is this just a fancy name for a ...

3. What's the difference between Mozilla Public License 1.1 (MPL) and Apache License?    stackoverflow.com

There are a couple of threads talking about license issue. Mostly focusing on GPL/LGPL/BSD. I am trying to use RabbitMQ in commercial applications, which is licensed under Mozilla Public License(MPL). Is ...

4. RabbitMQ High-speed Transient Messaging Performance    stackoverflow.com

The system we are building is receiving data through the external feed. Our job is to distribute this data to multiple services, run the calculations and forward the results elsewhere - ...

5. Can txAMQP unbind in RabbitMQ?    stackoverflow.com

I want to remove bindings in RabbitMQ without deleting the bound queue. I am using txAMQP with the 0.8 AMQP spec; it seems to be the only version that RabbitMQ supports ...

6. Observe metadata operations in RabbitMQ    stackoverflow.com

I want to send a message whenever RabbitMQ creates or deletes a queue, exchange or binding. Is this feasible from a client API? What about as a plug-in?

7. Simple scalable work/message queue with delay    stackoverflow.com

I need to set up a job/message queue with the option to set a delay for the task so that it's not picked up immediately by a free worker, but after ...

8. Can somebody tell steps to use OpenAMQ C lib to connect to rabbitMQ server    stackoverflow.com

I am trying to use RabbitMQ in my C/C++ app, so far I have realized that using OpenAMQ's C Client is the only option, but OpenAMQ is AMQP 0-9 something and ...

9. how to build rabbitmq server on windows    stackoverflow.com

I am trying to build rabbitmq server on windows but no luck. Rabbitmq website doesn't help much. Can someone help.





10. Messaging pattern question    stackoverflow.com

Process A is calculating values for objects a1, a2, a3 etc. and is sending results to the middleware queue (RabbitMQ). Consumers read the queue and process these results further. Periodically process ...

11. Does RabbitMq do round-robin from the exchange to the queues    stackoverflow.com

I am currently evaluating message queue systems and RabbitMq seems like a good candidate, so I'm digging a little more into it. To give a little context I'm looking to have something ...

12. ZooKeeper and RabbitMQ/Qpid together - overkill or a good combination?    stackoverflow.com

Greetings, I'm evaluating some components for a multi-data center distributed system. We're going to be using message queues (via either RabbitMQ or Qpid) so agents can make asynchronous requests to other agents ...

13. What does the following line of a bash script do?    stackoverflow.com

Usually work in Windows, but trying to setup RabbitMQ on my Mac. Can someone let me know what the line below does?

[ "x" = "x$RABBITMQ_NODE_IP_ADDRESS" ] && [ "x" != ...

14. RabbitMQ as a proxy between a data store and a producer?    stackoverflow.com

I have some code that produces lots of data that should be stored in the database. The problem is that the database can't keep with the data that it gets produced. ...

15. Does the content type header in RabbitMQ have any special meaning?    stackoverflow.com

Does the content type header in RabbitMQ have any special meaning, or is it only a standardized way for my producers and consumers to signal what kind of data they are ...

16. RabbitMQ Message Queue Exists or Not    stackoverflow.com

How Can i check whether a message Queue already exists or not.. Reason for this is i have 2 different applications one creating a queue and other reading from that queue..So ...





17. How do I implement a custom message queue listener for WAS activation?    stackoverflow.com

I'm writing components of a .Net 4.0 web solution (on IIS7, WS2008), and need to provide a service which can consume messages from a message queue. I've found setup examples for ...

18. RabbitMQ failing inexplicably, restart required, restart fixes problem    stackoverflow.com

RabbitMQ keeps failing and we fix it by restarting the service but we don't know why it fails. Has anybody else experienced these issues?

19. Producer work consistently hashing to consumers via a message queue?    stackoverflow.com

I have a producer that I want to distribute work consistently across consumers by consistent hashing. For example, with consumer nodes X and Y, tasks A, B, C should always go ...

20. How to implement rabbitMQ in java    stackoverflow.com

 How to implements rabbitMQ message broker with Java client.i am not found any document or link to understand implementation.
Thanks

21. how to implement RPC Mechanism using RabbitMQ in java    stackoverflow.com

how to implement RPC Mechanism(both producer and consumer) using RabbitMQ in java?i am also visit official site http://www.rabbitmq.com/api-guide.html#rpc but i am getting detail description about this things. Thanks

22. Returning the value from the loop    stackoverflow.com

Hi
I am doing a POC with the rabbitMQ and writing a program to add two numbers and getting the response.
The code that we wrote to retrieve the value from the queue ...

23. problem to return value from response queue    stackoverflow.com

i am using Rabbitmq Java client API.i am sending two number from GUI to producer and producer put into queue another side consumer can listen the queue and read it and ...

24. What is message-oriented middleware?    stackoverflow.com

I've been trying to figure out exactly what message-oriented middleware is, but haven't been able to find any non-enterprise real world examples that make sense to me. Can anyone give me ...

25. configuring haproxy in rabbitmq    stackoverflow.com

i want to know how to configure haproxy and rabbitmq.i want to make my rabbitmq more scalable and available.... any link any idea anyone have

26. Decoupling messaging and web services    stackoverflow.com

I'm going to be building an app shortly that requires reliable, reasonably high throughput messaging. Many of the endpoint consumers of our messages are SOAP web sevices however. RabbitMQ and related technologies ...

27. rabbitmq multiple consumer and multiple publisher    stackoverflow.com

Want to know the behavior of rabbitmq multiple publisher and consumer. Does rabbitmq server gives one message to any one of the consumer at a time and other consumers are ideal at ...

28. how to send a file like word via RabbitMQ    stackoverflow.com

I need to be able to send files like pdf or word via RabbitMQ (I think answer might be more generic meaning not specific to RabbitMQ but any broker I am ...

29. Architecting an open source event-driven system for storage and evaluation at scale    stackoverflow.com

I am currently thinking about designing an architecture that can handle vast volumes of incoming source data, clean the data and store it in a key/value store like Riak or MongoDB. ...

30. Rabbitmq service install have a strange suffix on service name    stackoverflow.com

Dear, I installed rabbitmq service on window by using command: rabbitmq-service.bat install Service rabbitmq install successful but the name of this service is strange HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RabbitMQ01cba63f8e86f1f0 Does anyone know why the suffix after RabbitMQ come from? ...

31. RabbitMQ: Are multiple consumers on one queue using a non-polling strategy possible?    stackoverflow.com

we use RabbitMQ to send jobs from a producer on one machine, to a small group of consumers distributed across several machines. The producer generates jobs and places them on the ...

32. Load Balancing among Producers (devices) and Messaging Server ( Apache Qpid or RabbitMQ )    stackoverflow.com

Recently I started working on a project which require to implement Messaging and viable options are : Apache Qpid or RabbitMq , My Task is like this : +A+ >>.[Millions Devices ...

33. it correct way to creating consumer as an daemon thread?    stackoverflow.com

i am using Rabbitmq Java client library.RabbitMQ provides robust messaging for applications.there are two entires are used publish,those publish an message and consumer that are infinite run and poll queue where ...

34. speed limit on a queue (rabbitMQ)    stackoverflow.com

I'm doing a test on the speed of retrieving message out of a queue. With 1 consumer, the speed is around 20 msg / s. When I increase the number of ...

35. How stable is RabbitMQ in production (using DRBD and Pacemaker)?    stackoverflow.com

Looking for experience with RabbitMQ, especially in HA configuration using Pacemaker and DRDB as recommended here: http://www.rabbitmq.com/pacemaker.html The DRBD part in particular makes me nervous, so I'm hoping someone ...

36. rabbitmq - output error : undefined function ssl:ssl_accept/3    stackoverflow.com

I have just installed a new version of rabbitmq and recieved the following messsage upon running: rabbitmq undefined function ssl:ssl_accept/3 Does anyone have an idea ?
The server ...

37. RabbitMQ - upgraded to a new version and got a lot of "PRECONDITION_FAILED unknown delivery tag 1"    stackoverflow.com


Just upgraded to a new version of RabbitMQ - 2.3.1 . and now I get an exception with the following sentence - PRECONDITION_FAILED unknown delivery tag 1 then ...

38. RabbitMQ - Basic newbie questions    stackoverflow.com

Our scenario: dozens of Windows laptops which are occasionally connected to the network. Need to store simple data records on each laptop, then have these reliably transferred to a service running ...

39. how to start server using java?    stackoverflow.com

i am using Rabbitmq server.can i start server using Java code? Thanks

40. What's the best way to monitor rabbitmq to make sure everything is running smoothly?    stackoverflow.com

Many times, I get: -Frozen, load goes to 5.0. Can't use my box. -Just doesn't work.

41. RabbitMQ fan out on a topic exchange    stackoverflow.com

Pretty new to RabbitMQ and we're still in the investigation stage to see if it's a good fit for our use cases-- We've readily come to the conclusion that our desired topology ...

42. What language was rabbitmq written in?    stackoverflow.com

I'm looking at the repos and there are so many projects, not sure which are wrappers/clients and which is the actual project. Is it erlang?

43. Does the order of fields in a RabbitMQ topic matter?    stackoverflow.com

I'm creating a logging facility for an application that will use RabbitMQ to collect log messages. I'm trying to decide on how I should structure the topic field of the message. One ...

44. RabbitMQ to simulate a topic exchange with a direct exchange    stackoverflow.com

Is there a way I can have a direct exchange simulate a topic exchange (I know that the opposite can be obtained: see here), but my use case here ...

45. How can I set time for consumer side in RABBITMQ    stackoverflow.com

This is my code and i set the true on autoDelete both queue , exchange finally publish is not sending any message to consumer several minute at this time i would ...

46. May I use the same correlation ID in AMQP more than once?    stackoverflow.com

Let's say I have a queue on which multiple consumers are listening to. I put a request on the queue and one of the consumer will process it, and send me ...

47. RabbitMQ pop operation atomicity    stackoverflow.com

Does anyone know if the pop operation on a RabbitMQ queue is atomic? I have several processes reading from the same queue (the queue is marked as durable, running on version 2.0.0) ...

48. RabbitMQ throws AlreadyClosedException rather than IOException when the broker connection is lost    stackoverflow.com

I'm using rabbitmq java client 2.4.1 the newest version. After a TCP connection lost, and still call a method on a channel over this connection, a AlreadyClosedException will be thrown. Is it a bug? ...

49. Getting result of a long running task with RabbitMQ    stackoverflow.com

I have a scenario where a client sends an http request to download a file. The file needs to be dynamically generated and typically takes 5-15 seconds. Therefore I am looking ...

50. Dynamic ACLs in RabbitMQ    stackoverflow.com

I'm considering RabbitMQ's usefulness for creating a multi-user chat system. People would be able to chat in various rooms, some public and some private, and privately person-to-person. Would it be possible ...

51. Use of messaging like RabbitMQ in web application?    stackoverflow.com

I would like to learn what are the scenarios/usecases/ where messaging like RabbitMQ can help consumer web applications. Are there any specific resources to learn from? What web applications ...

52. RabbitMQ: similiar queues in different exchanges    stackoverflow.com

Can I have two queues with the same name and same routingKey yet each bound to another exchange?

53. Making RabbitMQ listen only to the loopback interface?    stackoverflow.com

How do I instruct the RabbitMQ processes (epmd and beam.smp) to listen only to the loopback interface (127.0.0.1)?

54. Error to Connect RabbitMq in hyperic HQ    stackoverflow.com


I am trying to monitor a machine in which RabbitMQ is installed.
RabbitMQ's broker is working well in that machine.
Now I want to monitor that machine using open source HypricHQ software.
The problem ...

55. best way to rotate rabbitmq log files    stackoverflow.com

My rabbit logs are getting very large and I am wondering if there is a better way to control the rotation. I'd like the logs to rotate based on size, and ...

56. What does nowait mean in RabbitMQ's exchange.declare()?    stackoverflow.com

Pretty straightforward question. I can't find it in the docs or the spec.

57. RabbitMQ use of immediate and mandatory bits     stackoverflow.com

I've used RabbitMQ server and for publishing messages when the immediate field was set true ,I tried sending 50,000 messages and using rabbitmqctl list_queues, I saw that number of messages in ...

58. Use of frame_max in RabbitMQ    stackoverflow.com

I've read about the frame_max for rabbitMQ, it said frame_max is "Maximum permissible size of a frame (in bytes) to negotiate with clients. Setting to 0 means "unlimited" but will trigger ...

59. Using exclusive + durable queues, for RabbitMQ    stackoverflow.com

If I have made a queue which is exclusive and durable (not auto-delete). Now, if the consumer subscribes to that queue and then it goes down. Then that queue gets deleted. ...

60. How to write a custom flume sink    stackoverflow.com

We're using flume and I need to collect some log messages into rabbitmq. I found a source implementation that reads messages from rabbitmq, but I couldn't find a sink ...

61. RabbitMQ real world scenario    stackoverflow.com

What I require from usage of RabbitMQ is: The producer produces messages and receiver receives all the messages, which are published after the time it has first connected to the queue. Since ...

62. RabbitMQ learning resources    stackoverflow.com

Do you know any learning good learning resources for RabbitMQ:

  • Tutorial
  • Videos
  • Podcast
  • Books
  • Github projects

63. What is the best way to safely end a java application with running RabbitMQ consumers    stackoverflow.com

We have a standalone java application doing some background processing on a Debian machine. The jobs it has to handle are send through RabbitMQ messages. When the java application needs to ...

64. Deleting queues in rabbitmq    stackoverflow.com

I have a few queues running with RabbitMq. A few of them are of no use now, how can I delete them? Unfortunately i had not set the auto_delete option. If i ...

65. RabbitMQ with Websocket and Gevent    stackoverflow.com

I'm looking forward to develop a realtime API for my web application using Websocket. For this I'm using RabbitMQ as the broker and My backend is based on python (gevent + ...

66. Are there any good alternatives to RabbitMQ for low-end setups?    stackoverflow.com

I've been using RabbitMQ in a few setups now, and I can't shake the feeling that there must be something that's more easily set up. Despite it's conveniences it's hard to ...

67. Mnesia can't connect to another node    stackoverflow.com

I am setting up a rabbitmq cluster and ran into an issue during the one step in the process. Its straight out of the rabbitmq clustering guide.

root@celery:~# rabbitmqctl status
Status of node ...

68. Way to break a connection from rabbitmq    stackoverflow.com

I've got an application which has some bugs. For some reason 2 consumers are created when only one should be there - and one of them is not checked for messages ...

69. Consumers without connections in rabbitmq    stackoverflow.com

I've got a strange situation where one service started 2 consumers. For all I know, the first one was disconnected by timeout / network glitch / something else. What I end up ...

70. How to update index using rabbitmq River?    stackoverflow.com

I'm using Elastic-search server 0.16.2. I prepared index using Rabbitmq river.for that i used elastic-client java API.i do some updatation on my data,i want to update my previously created index.how it ...

71. Rabbitmq vs Apache QPID    stackoverflow.com

Im trying to figure out which of these two messages queues to go with. I was initial interested in RabbitMQ but have been a bit discouraged by the fact that it ...

72. Using Redis for Pub Sub . Advantages / Disadvantages over RabbitMQ    stackoverflow.com

Our requirement is very simple. Send messages to users subscribed to a topic. We need our messaging system to be able to support millions of topics and maybe millions of subscribers ...

73. Avoiding data copying during a RabbitMQ BasicPublish    stackoverflow.com

I have a requirement to use RabbitMQ to send messages in a Java program. These messages contain 2 fields - A single byte identifier and many bytes of data. ...

74. Preserving delivery order    stackoverflow.com

I am considering using AMQP for an application where delivery order is paramount. I cannot therefore use the normal re-delivery features, as undelivered messages are re-queued out of order. It looks ...

75. RabbitMQ implementation of AMQP protocol    stackoverflow.com

I have some problem so can you help me. Is instance of AmqpTemplate class from RabbitMQ ( implementation of AMQP protocol) thread safe. Can it be accessed from multiple threads? Thanks

76. Redis / RabbitMQ - Pub / Sub - Performances    stackoverflow.com

I wrote a little test for a simple scenario: One publisher and one subscriber Publisher send 1000000 messages Subscriber receive the 1000000 messages First test with RabbitMQ, fanout Exchange, RabbitMq node type Ram : 320 ...

77. Which message queue can handle private queues that survive subscriber disconnects?    stackoverflow.com

I have some requirements for a system in need of a message queue:

  1. The subscribers shall get individual queues.
  2. The individual queues shall NOT be deleted when the subscriber disconnects
  3. The subscriber shall be ...

78. Verify version of rabbitmq    stackoverflow.com

How can I verify which version of rabbitmq is running on a server? Any command to verify this? Thanks for the help.

79. amqp_login giving "Argument list too long" error?    stackoverflow.com

I am using c library of RabbitMQ. It has a function amqp_login I am using it as following.

 ::amqp_rpc_reply_t c_amqp_rpc_reply = 
           ...

80. why amqp_basic_publish segfaults?    stackoverflow.com

I wanted to ask if someone knows about the segfault issue of amqp_basic_publish function. Since its a RabbitMQ library; I cant even go into it and debug it. Do you know ...

81. Can I do reliable send and forget on RabbitMQ?    stackoverflow.com

I want to send messages from a client computer to a consumer on a server computer over an unreliable connection. In my program I don't want to worry about the connection, ...

82. How to properly manage rabbitmq with supervisord    stackoverflow.com

The current section in my supervisord.conf looks like: [program:rabbitmq] command=/usr/sbin/rabbitmq-server When I try to stop the rabbitmq with supervisord ( supervisorctl stop rabbitmq), the rabbitmq processes simply do not shut down. The rabbitmq documentation ...

83. How to know when a set of RabbitMQ tasks are complete?    stackoverflow.com

I am using RabbitMQ to have worker processes encode video files. I would like to know when all of the files are complete - that is, when all of the worker ...

84. RabbitMQ Queue with no subscribers    stackoverflow.com

"Durable" and "persistent mode" appear to relate to reboots rather than relating to there being no subscribers to receive the message. I'd like RabbitMQ to keep messages on the queue when there ...

85. Messaging Confusion: Pub/Sub vs Multicast vs Fan Out    stackoverflow.com

I've been evaluating messaging technologies for my company but I've become very confused by the conceptual differences between a few terms: Pub/Sub vs Multicast vs Fan Out I am working with the following ...

86. NoSuchMethodError running RabbitMQ in CloudFoundry    stackoverflow.com

I recently set a SpringSource CloudFoundry micro cloud instance and am trying to run through their fairly brief messaging example using RabbitMQ found here (with code): http://support.cloudfoundry.com/entries/20322602-getting-started-with-the-rabbitmq-service-from-a-spring-application A public working instance ...

87. Worker pools and multi-tenant queues with RabbitMQ    stackoverflow.com

I work on a web application that is a multi-tenant cloud based application (lots of clients, each with their own separate "environment", but all on shared sets of hardware) and we're ...

88. Akka echangetype for consistent hash exchange of RabbitMQ    stackoverflow.com

Is there a way to use the consistent hash exchange (http://hg.rabbitmq.com/rabbitmq-consistent-hash-exchange/file/default/README.md) of RabbitMQ with Akka amqp? It is easy to use Topic, direct etc. I am wondering if I can specify ...