Questions tagged [mq]

The term 'mq' refers either to the general topic of message queuing or any of several implementations of messaging middleware with "MQ" in the name. For purposes of Stack Overflow, use the product-specific tags when appropriate. When the question does not refer to a specific product, it is probably better to use the tag [message-queue] or [jms] because of the association of the term 'mq' with specific well-known products.

The term 'mq' refers either to the general topic of message queuing or any of several implementations of messaging middleware with "MQ" in the name. For the purposes of Stack Overflow, use the product-specific tags when appropriate. When the question does not refer to a specific product, it is probably better to use the tag or because of the association of the term 'mq' with specific well-known products.

See also:






645 questions
26
votes
3 answers

What is the difference between a message channel and the message queue itself?

What is the difference between a message channel and a message queue itself? They're different things. The queue actually holds messages which will be processed (pushed to the listener) in FIFO manner. A channel is a medium through which…
alokraop
  • 853
  • 1
  • 11
  • 29
24
votes
2 answers

Are there any MQ servers that can run embedded in a Java process?

I'm researching queuing solutions for one of my team's apps. Ideally we would like something that can be configured both as a lightweight, in-process broker (for low-throughput messaging between threads) and as an external broker. Is there an MQ…
Evan Haas
  • 2,524
  • 2
  • 22
  • 34
23
votes
3 answers

Are there any good alternatives to RabbitMQ for low-end setups?

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 justify MQ for a solution that only processes a couple of thousand messages a…
lyschoening
  • 18,170
  • 11
  • 44
  • 54
22
votes
5 answers

Difference between queue manager and message broker

What is the difference between a Websphere Message Broker and a Queue Manager. I guess the queue manager puts messages in the queue, takes messages out of the queue, moves messages to backout queues etc. So what is the job of the broker? Does it…
Victor
  • 16,609
  • 71
  • 229
  • 409
15
votes
2 answers

Message delivery sequence in akka actors

I'm pretty new to Akka and couldn't find the answer in the reference manual. Suppose we have remote actors distributed in the cluster of 3 machines (A, B, C), where one actor lives on each machine and others have actorRef to 2 others, i.e.: Machine…
Grozz
  • 8,317
  • 4
  • 38
  • 53
11
votes
3 answers

Creating a queue per remote method when using RabbitMQ?

Let's just accept for a moment that it is not a horrible idea to implement RPC over message queues (like RabbitMQ) -- sometimes it might be necessary when interfacing with legacy systems. In case of RPC over RabbitMQ, clients send a message to the…
Mate Varga
  • 3,144
  • 2
  • 14
  • 17
9
votes
2 answers

Most Efficient - Performance wise - for inter JVM communication

I have a Java application that require communication between different process. Process could run in same JVM or different JVM, but runs on the same machine. My application need to submit "messages" to another process (same or different JVM) and…
user836026
  • 10,608
  • 15
  • 73
  • 129
9
votes
5 answers

Message queuing solution for millions of topics

I'm thinking about system that will notify multiple consumers about events happening to a population of objects. Every subscriber should be able to subscribe to events happening to zero or more of the objects, multiple subscribers should be able to…
pQd
  • 116
  • 4
  • 20
8
votes
1 answer

Trying to connect to MQ using PHP; almost there

So I've spent the past few days trying to solve this that seems to have been forgotten since none of the two PECL extensions available (SAM and mqseries) have been updated for a long time. I've tried both and mqseries seems to get me the furthest at…
eriben
  • 188
  • 10
8
votes
2 answers

How do I get Websphere MQ connection status and how do I reset the connection:

1.) From a .net client, how do I test if the client is connected to the server (i.e. can send and receive) Yes, I could send a message inside a try block and catch the ensuing exception but I'm hoping for a more elegant solution. 2) How do I…
Sam
  • 1,621
  • 3
  • 22
  • 30
7
votes
4 answers

Tibco EMS vs. MSMQ vs. MQ

Could not find an answer on this question, so would like to initiate this: Tibco EMS vs. MSMQ vs. MQ. How do these 3 technologies compare? Which one is better and in which kinds of scenarios? Specifically, I think to use one of these in SOA…
user998819
7
votes
3 answers

thread grabs other threads IPC message from queue (Linux)

When I have two different IPC message queues on Linux, sometimes the messages from the wrong queue are grabbed. The following toy program displays the problem, can be repeated on different processors. Any help greatly appreciated! Bert /* To…
quadmore
  • 71
  • 2
7
votes
3 answers

Getting started with MQ on Java: Where to begin?

I'm trying to kludge some legacy connectivity into one of our newer applications, and this marks my first foray into MQ. We have a middleware server that accepts an XML message delivered via MQ; converts this into a proprietary request for our…
IVR Avenger
  • 15,090
  • 13
  • 46
  • 57
7
votes
2 answers

Consume and publish messages on the same channel

I'm implementing the request/reply pattern in RabbitMQ using Java. I know that channels are not thread-safe, so use 1 channel per consumer/thread. I wonder if there are any problems or inefficienies when a single channel is used both to consume and…
toandv
  • 982
  • 13
  • 25
7
votes
2 answers

How to set Content-Type header for JMS message

We have a Java application that sends JMS message via IBM WebSphere MQ. The consumer application requires the message content type to be set to "application/json". How can I go about doing it? I've checked through a few references and it seems I can…
pkid169
  • 2,240
  • 2
  • 15
  • 22
1
2 3
42 43