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
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
7
votes
2 answers

Should the JMSMessageID change between publish and subscribe?

The JMS 2.0 specification says The JMSMessageID header field contains a value that uniquely identifies each message sent by a provider. ...and... The exact scope of uniqueness is provider defined. It should at least cover all messages for a…
T.Rob
  • 31,522
  • 9
  • 59
  • 103
7
votes
5 answers

WebSphere MQ .NET API

Is there a WebSphere MQ .NET API I can download ? I am basically trying to write a C# app that listens for messages in an MQ queue.
koumides
  • 2,464
  • 5
  • 34
  • 54
7
votes
2 answers

Async Consumer and use of TransactionScope

I'm using the IBM.XMS lib to talk to WebSphereMQ. When receiving messages using the synchronous method, eg: using (var scope = new TransactionScope(TransactionScopeOption.Required, transactionOptions)) { message = consumer.Receive(1000); …
John Simons
  • 4,288
  • 23
  • 41
7
votes
2 answers

JMS equivalent in .Net

I am trying to make an common abstract interface over the messaging infrastructure in our company. The design goal is to 2 fold. 1 is to hide the complexity of programming from the developers (i know its not very complex but still simplify it…
rauts
  • 1,018
  • 9
  • 21
7
votes
7 answers

IBM MQ Message Listener

Hi does anyone know how to create a message listener using IBM MQ? I know how to do it using the JMS spec but I am not sure how to do it for IBM MQ. Any links or pointers are greatly appreciated.
x1a0
  • 456
  • 3
  • 7
  • 8
7
votes
4 answers

Spring JMS and Websphere MQ

hi I am new to Spring JMS and websphere MQ. Can Any one give me step by step processs or example how to receive message from websphere MQ and be able to print that message in console thanks u very much for your help
nepJava
  • 81
  • 1
  • 1
  • 4
7
votes
2 answers

Getting error : WebSphere MQ reason code 2538?

I have WebSphere MQ and WebSphere Message Broker installed on Linux and when I execute mqsicreateexecutiongroup I get an error saying: BIP1046E: Unable to connect with the queue manager (Could not connect to queue manager 'NSPZPAI1' (MQ reason…
Tanu
  • 369
  • 5
  • 7
  • 18
7
votes
1 answer

What is the latest WebSphere MQ Client version?

I'm seeing downloads for 7.0.1.8 off the IBM website but at the same time I see 7.1.0.1 around. I do not see the download for the client of 7.1.0.1 though...
tbgox
  • 221
  • 5
  • 10
7
votes
2 answers

How do I limit the amount of times a JMS DefaultMessageListenerContainer will retry a message?

I am using Spring JMS to connect to a Websphere MQ server. I implemented the SessionAwareListener interface to create a custom listener, reusing old code for the business logic. While testing, the listener throws a StringIndexOutOfBoundsException,…
Jose
  • 1,616
  • 4
  • 26
  • 38
7
votes
5 answers

How do I browse a Websphere MQ message without removing it?

I'm writing a .NET Windows Forms application that will post a message to a Websphere MQ queue and then poll a different queue for a response. If a response is returned, the application will partially process the response in real time. But the…
John M Gant
  • 18,970
  • 18
  • 64
  • 82
6
votes
2 answers

How to implement Message Queuing Solution

I have a scenario where about 10 different messages will need to be enqueued and then dequeued / processed. One subscriber will need all 10 messages, but another will only need 8 of the 10 messages. I am trying to understand what the best way is…
scarpacci
  • 8,957
  • 16
  • 79
  • 144
6
votes
2 answers

An illegal attempt to commit a one phase capable resource with existing two phase capable resources

I have an MDB in WebSphere 6. The MessageListener is linked to a Tibco EMS queue. In the MDB I'm trying to write to a WebSphere MQ queue. I get the following error: WMSG0042I: MDB Listener LoanIQ Payments Inbound started successfully for…
Synesso
  • 37,610
  • 35
  • 136
  • 207
6
votes
4 answers

Standalone Java JMS Client for WebSphere MQ

Can I use just WebSphere's jar files with standard JMS to send messages to a WebSphere MQ server, or do I need to download their WebSphere MQ Client?
Jon
  • 91
  • 1
  • 1
  • 3
6
votes
2 answers

Managed IBM MQ .Net Client v9.1.4 freezes on get via SSL when running on .Net Core 3.1

MQQueue.Get() operation freezes for 5 minutes when getting a message from QueueManager using SSL on .NetCore 3.1. The same code works fine when running on .Net Framework (v4.8) or without SSL on both runtimes. Details: Client: MQ Managed Client…