Questions tagged [ibm-mq]

IBM MQ is a message oriented middleware product that provides a proprietary API as well as implementing the Java Message Service (JMS) API. As of v8.0, the product name became IBM MQ, having being previously called WebSphere MQ and before that, MQSeries. The websphere-mq and mqseries tags are synonyms.

General information
IBM MQ is a message oriented middleware product that provides a proprietary API as well as implementing the Java Message Service (JMS) API.

Tips for asking questions on this topic
The following tips will help the people responding to provide an accurate, timely and effective answer.

  • Let us know if you are using the MQ client. If you are, then provide information for both the QMgr and the client for most of the remaining points. For example, when giving the version provide it for the QMgr and the client.

  • And please do provide the version. MQ changes significantly version to version and the interactions between client and server differ by version. Preferably, give us the output of a dspmqver command. If the question pertains to things other than the base code (for example GSKit or JMS classes) then use dspmqver -a instead.

  • Describe the technology. It makes a difference if you are using the compiled C client or the Java client, .Net, COBOL, etc. Similarly, is it running on mainframe, Windows, UNIX, Linux, or other? Provide these details for the client too, if it is used.

  • Please provide the MQ Reason Code. If using JMS, you can get the MQ reason code by printing the Linked Exception (a best practice for JMS regardless of transport vendor). Most other commands or API calls return the reason code directly. If there's no reason code, it may not be an MQ problem!

  • Describe any diagnostic you have already tried, and the results. Any QMgr will have two sets of error logs, possibly issue event messages, and write FDC (dump) files. Were any entries made to these, and if so, what were they?

Getting started?
Links to everything you need to get up and running with IBM MQ:

  • IBM MQ Advanced for Developers - full-featured, no-charge, no support development license includes both server and client code, Managed File Transfer, Advanced Message Security and MQ Extended Reach (called MQXR internally, a.k.a. MQTT). Paid support for this version is available as an add-on.
  • IBM MQ v9.2 Client - The stand-alone MQ client includes the C, Java, JMS and .Net client functions.
  • IBM MQ v9.1 Client - The stand-alone MQ client includes the C, Java, JMS and .Net client functions.
  • IBM MQ v9.0 Client - The stand-alone MQ client includes the C, Java, JMS and .Net client functions.
  • IBM MQ v8.0 Client - The stand-alone MQ client includes the C, Java, JMS and .Net client functions.
  • IBM MQ Explorer - MQ Explorer is now a stand-alone install. It can coexist with but has no dependency on the MQ Client.
  • Downloaded the product code? Great! For an overview of how it all works, take a look at the MQ Primer. It is an IBM Redpaper that introduces the concepts of MQ.
  • The IBM Messaging Community on developerWorks is IBM's official MQ blog where you can interact with the product developers and management.
  • There is a large collection of articles on MQ at IBM MQ on IBM developerWorks.
  • IBM Messaging and IBM Support TV on YouTube cover MQ topics.
  • The Store and Forward blog covers MQ Security topics in depth.

Product Documentation
IBM MQ v9.2 documentation
IBM MQ v9.1 documentation
IBM MQ v9.0 documentation
IBM MQ v8.0 documentation
IBM MQ v8.0 Appliance documentation
WebSphere MQ v7.5 documentation
WebSphere MQ v7.1 documentation
WebSphere MQ v7.0 documentation

Reference Links
IBM MQ product page
IBM MQ System Requirements
IBM MQ Recommended Fixes - Fix Packs and interim fixes.
IBM MQ SupportPacs - Product extensions.
IBM MQ Request For Enhancement (RFE) Community - Make feature requests here.
IBM MQ Appliance product page - MQ Messaging in an appliance form factor.
IBM Software Support Lifecycle - Find release and end-of-life dates for MQ and other products.

History, packaging and branding

  • As of v8.0, released June 2014, the product name became IBM MQ.
  • Versions 5.3 - 7.5 were known as WebSphere MQ.
  • Versions prior to 5.3 were known as MQSeries.

Service Dates

Product        Version  Release      End of Support
============   =======  ==========   =================
IBM MQ         9.2.x    2020-07-23   Not yet announced
IBM MQ         9.1.x    2018-07-23   Not yet announced
IBM MQ         9.0.x    2016-06-02   2021-09-30
IBM MQ         8.0.x    2014-06-13   2020-04-30
WebSphere MQ   7.5.0    2012-07-06   2018-04-30
WebSphere MQ   7.1.0    2011-11-25   2017-04-30
WebSphere MQ   7.0.1    2009-09-25   2015-09-30
WebSphere MQ   7.0.0    2008-06-27   2015-09-30
Websphere MQ   6.0      2005-06-24   2012-09-30
Websphere MQ   5.3      2002-11-29   2007-09-28
MQSeries       5.2      2000-12-15   2003-12-31
MQSeries       5.2.x    2000-12-15   2004-04-30
MQSeries       5.2.1    2001-05-25   2003-12-31
MQSeries       5.2.0    2000-12-15   2003-12-31
MQSeries       5.1.x    2000-04-14   2009-04-30
MQSeries       2.2.1    1995-09-29   2005-04-30
MQSeries       2.1.2    2003-03-14   2010-09-30
MQSeries       2.1.1    2000-09-29   2006-03-31
MQSeries       2.1.0    1998-10-16   2005-09-30

Additional products built on or extending WebSphere MQ
IBM Integration Broker
IBM MQ Extended Reach (MQTT)
IBM MQ Light (AMQP)
WebSphere Message Broker
WebSphere MQ Advanced Message Security (Now integrated into IBM MQ)
WebSphere MQ File Transfer Edition (Now integrated into IBM MQ)
WebSphere MQ Low Latency Messaging
WebSphere MQ Telemetry

Miscellaneous Notes
As of WebSphere MQ v7.5, WebSphere MQ Advanced Message Security was integrated into WebSphere MQ and sold as an entitlement rather than separately delivered code. WebSphere MQ File Transfer Edition was also integrated into the product and renamed as WebSphere MQ Managed File Transfer. WMQ MFT is also sold as an entitlement in the new version. As part of the integration, the documentation for these products was combined with the WebSphere MQ v7.5 documentation.

WebSphere MQ v7.5 was delivered on distributed platforms only. For z/OS the highest version of WebSphere MQ was v7.1 and both WMQ AMS and WMQ FTE products are delivered as separate products in that release.

As of v8.0, IBM MQ Advanced Message Security and Managed File Transfer are available on Distributed and z/OS platforms integrated into the main product and enabled via license entitlement.

4310 questions
5
votes
2 answers

How can I improve performance for an MQ based batch application?

I have an application where messages keep coming at a rate of 70K XMLs per hour. We consume these XML messages and store it into an intermediate queue. The intermediate queue is created because we need to meet SLA of consuming all the messages with…
SJoe
  • 319
  • 2
  • 6
  • 14
5
votes
1 answer

Parse IBM MQ v9.1 Error Logs using Splunk

I'm forwarding my IBM MQ v9.1 error logs using splunk forwarder to a centralized cluster to see trends on common error occurring across my distributed messaging systems. However I'm unable to parse the required fields, since the format of MQ error…
5
votes
1 answer

IBM MQ .Net Client v9.1.4 cannot connect to MQ server 8.0.0.4 CompCode: 2 Reason: 2059

This is excerpt of program which throws an exception with code MQException (CompCode: 2 Reason: 2059) Hashtable properties = new Hashtable(); properties.Add(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES_MANAGED); …
LyubomirL
  • 87
  • 8
5
votes
2 answers

How to use JMS Properties on IBM MQ JMS Interface?

I'm using MQ JMS interface with MQ 6.0.2. It seems that only pre defined properties are suported and not arbitrary ones. for instance, I can properly getJMSCorrelationID(), getJMSPriority() etc. However, when i set an arbitrary property on the…
erezul
  • 527
  • 2
  • 8
  • 19
5
votes
3 answers

How to install pymqi in window 64-bit?

I am trying to install pymqi on windows 64-bit machine. "pip install pymqi" gives an error Collecting pymqi Using cached…
SDions
  • 59
  • 1
  • 2
5
votes
1 answer

How do I create a TopicConnectionFactory for MQSeries in Spring?

I have read the article http://techtots.blogspot.com/2010/01/connecting-to-mq-using-spring-without.html about configuring QueueConnectionFactories and have that side of things working nicely. # MQ related…
James Woods
  • 477
  • 1
  • 4
  • 15
5
votes
1 answer

Is there a "feature" in Open Liberty to connect to IBM MQ, equivalent to wmqJmsClient-2.0 in Liberty Profile?

IBM WebSphere Liberty Profileprovides the"wmqJmsClient-2.0"feature to interact withIBM MQ Is there an equivalent for Open Liberty? [UPDATED] If not (as it seems), how to connect Open Liberty to IBM MQ? Should I develop an Open Liberty…
titou10
  • 2,814
  • 1
  • 19
  • 42
5
votes
3 answers

Synchronous messaging possible with JMS/WMQ?

Let's say there is a mobile application that needs to make a sync request/query for some data from a server. The request will come to hosted JMS client first, that will publish a message/request on external Queue (from partner). Now here where it…
user567068
  • 435
  • 8
  • 15
5
votes
2 answers

How to match MQ Server reply messages to the correct request

I'm connecting to an IBM Websphere MQ. I want to be able to match the reply message with the correct request message. I've trawled through hundreds of pages to get this and have had no luck. I have a class - MQHandler - which sends a message to one…
speedos82
  • 97
  • 1
  • 2
  • 7
5
votes
1 answer

IBM MQ.NET Send Message Asynchronously and Commit()

I tried to verify the speed of using both async Put() and Commit() using the code below. The problem is that its speed is ten times slower than either using async Put() only or Commit() only, which does not make sense. Am I missing something…
Pingpong
  • 7,681
  • 21
  • 83
  • 209
5
votes
1 answer

What's the difference between an exit and a call in WebSphere MQ FTE?

I have been asked this a lot lately so I thought I'd post the question and answer here. What is the difference between an FTE exit and an FTE call? What are they for and when do I use them?
T.Rob
  • 31,522
  • 9
  • 59
  • 103
5
votes
1 answer

IBM MQ8.0 - AMQ9503 Channel negotiation failed

I have problem connecting to IBM MQ8.0 from Java client when SSL enabled at client channel(SVRCONN). When SSL is disabled(SSLAUTH to OPTIONAL) at channel, the flow is working fine. Client is java with JRE1.7. MQ server version is IBM MQ8.0 Created…
Krishna
  • 393
  • 2
  • 3
  • 18
5
votes
3 answers

Get MQ messageId in string format

I'm using the mq library of IBM to read messages from MQ queues. Now I need to retrieve the messageid of the message. I now it is in the message header under the name messageId. But this returns a byte[]. Now I need to change it to a readable…
JimmyD
  • 2,629
  • 4
  • 29
  • 58
5
votes
0 answers

communication between RabbitMQ & IBMMQ

we have 2 Messaging Middlewares like RabbitMQ & IBMMQ and have clients on both the sides, Is there any way we can push messages from RabbitMQ so that clients that are connecting to IBMMQ can consume and vice versa, i mean if i send message to…
GG0424
  • 211
  • 5
  • 13
5
votes
2 answers

IBM MQ message history

Is it possible to keep a history of messages (with message content would be perfect) that have already been retrieved and are no longer on a queue? In the application I can see when the sender attempts to put the message in the queue and when the…