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
4
votes
3 answers

PERSISTENT message have much slower performance than NON_PERSISTENT message

I found that PERSISTENT message have much slower performance than NON_PERSISTENT message. I sent and received non_persistent messages and the performance is as follows. Method Number of Msg Elapsed Time Sending - 500 messages -…
Lwin Htoo Ko
  • 2,326
  • 4
  • 26
  • 38
3
votes
2 answers

WebSphere MQ Performance

I have MQ server 7.1 running in machine1. I have a java app running in machine 2, that uses JMS to write messages to a queue in machine 1. The java app handles hundreds of messages per second (data coming from else where). Currently it takes about…
arrehman
  • 1,322
  • 6
  • 31
  • 42
3
votes
2 answers

What are MQs and how are they different from webservices

I have recently started looking into MQs and I had some very basic questions, How to decide between web services and and MQ? Can MQs only send string messages or can it work with Java Objects as well Are there any constraints in terms of where the…
Sap
  • 5,197
  • 8
  • 59
  • 101
3
votes
1 answer

How can sender know the message already be consumed with MQ JMS API?

I'm dealing with a standalone MQ JMS application, our app need to "aware" that client already consumed the message producer put on the queue. Because client app is not responsible by us. So we cannot let them to write something like…
phyerbarte
  • 199
  • 3
  • 12
3
votes
3 answers

Maximum number of JMS Queues

We have an application that has 1) a custom server (conventional ServerSocket) that responds to 2) Java SWING applications/applets running on client desktops. We have more than 140 such custom servers (dedicated to each group of swing clients).…
3
votes
4 answers

IBM MQ for Apple Silicon

Is there a solution to make this docker image https://hub.docker.com/r/ibmcom/mq run on Apple M1 chips? For Intel chips, I was able to run this image by: docker run -e LICENSE=accept -e MQ_QMGR_NAME=QM1 -p 1414:1414 -p 9443:9443 ibmcom/mq Is there…
hypercube
  • 958
  • 2
  • 16
  • 34
3
votes
1 answer

Difference between MQ and ESB

can anyone tell me what is a difference between MQ (Message queue) and ESB (Enterprise Service Bus)? I know that both provide inter proces comunication and deal with messaging but on the internet there is not as much information and everyone is…
3
votes
2 answers

How do I stop losing messages on MQ

I am writing a Java application, running in a LINUX environment, that does transactions on an MQ using SYNCPOINT. It uses Websphere MQ Java Classes to interact with the MQ service. What I am doing in my code is the following…
Jose
  • 1,616
  • 4
  • 26
  • 38
3
votes
1 answer

How to do manual commit using spring's DefaultMessageListenerContainer?

We have an application that listens on a queue for messages and I know that the dmlc provides a sessionTransacted property that I assume would allow us to manually commit the message receive event, however I am not sure how to leverage it in the…
Victor Parmar
  • 5,719
  • 6
  • 33
  • 36
3
votes
2 answers

Rabbitmq with python error

I have installed pip install pika==0.11.0, as it is shown on the readme file, and after that I tried python receiver.py, and it gave me the following error: Traceback (most recent call last): File "receive.py", line 9, in…
Vlad
  • 181
  • 3
  • 14
3
votes
1 answer

com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ0018: Failed to connect to queue manager 'xxx' with connection mode 'yyy' and host name 'zzz'

JMS app requires seven parameters to make successful SSL connection with MQ series given here, https://github.com/ibm-messaging/mq-tls-ssl-wizard/blob/master/com.ibm.mq.ssl-wizard/src/tlswizard/samples/SSLSampleJMS.java I am trying to interpret…
Ishtiaq Maqsood
  • 528
  • 4
  • 9
  • 24
3
votes
2 answers

Use mq client to get Alias Queue's base object queue name

I have MQ client code that can browse an Alias Queue to get the Alias Queue's base object name (i.e. the name of the Local Queue which the Alias Queue points to). However, the code only works when the MQ client connects to an MQ Manager running on…
Going Bananas
  • 2,265
  • 3
  • 43
  • 83
3
votes
1 answer

How to know which parameter is incorrect in MQ PCF command?

I am using MQ PCF command in Java to create MQ queues and updating their parameters. Following is the code I am using. PCFMessageAgent agent = new PCFMessageAgent(queueManager); agent.setCheckResponses(false); PCFMessage[] responses; PCFMessage…
A j
  • 1,069
  • 2
  • 16
  • 29
3
votes
3 answers

how to read large volume of messages from Websphere MQ

I want to read 10000 messages from Websphere MQ in groups in sequential order, i am using below code to do the same, but it is taking long time to read all the messages. Even i tried to use multi thread concepts, but sometimes 2 threads are…
venkatesh
  • 31
  • 3
3
votes
1 answer

RabbitMQ: next message can be dequeued only after previous was acked

I would like to have this constraint on a queue in RabbitMQ: Next message in the queue can't be dequeued before previous message (the one being processed) is acked. Through this I will achieve ordered processing of events and parallel processing…
ytoledano
  • 3,003
  • 2
  • 24
  • 39