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

Run Linux/MQSC commands from mq client

Ok, I want to check if I can run some OS or MQSC commands in MQ server remotely. As long as I know, this could be done with SYSTEM.ADMIN.SVRCONN. In order to do that, I add a remote Queue Manager to my WebSphere MQ client. I put Queue Manager name…
A23149577
  • 2,045
  • 2
  • 40
  • 74
6
votes
2 answers

To identify the xsd of xml message which is received from MQ

In IBM MQ, I have a requirement where I can get many types of xml from the queue. The xml messages will be conformed to already specified xsd (there are say, 5 xsd - which means I can get 5 different xml). When I get the message from queue, I would…
6
votes
1 answer

Raw MQ messages with WCF

Is there a way, using MQ 7.5, to get MQ WCF to place "raw" messages into an MQ queue? It seems to be limited to SOAP-JMS formats. By raw, I mean non-SOAP, non-JMS, non-XML, just a simple message. MQ 8 provides this feature with WmqStringMessage as…
paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953
6
votes
2 answers

How to connect to local MQseries queue using Python?

I am new to mqseries and I started with IBM WebSphere MQ curses. There are examples with MQ_APPLE and MQ_ORANGE queue managers. I have no problem with sending messages to local or remote queue with MQ Explorer, but I wanted to send such message from…
Michał Niklas
  • 53,067
  • 18
  • 70
  • 114
6
votes
4 answers

How to set JMSMessageID and JMSCorrelationID properly?

I made a java app that uses JMS to send messages to an MQ Queue. I set the message id and correlation id with the setJMSMessageId() and setJMSCorrelationId(). The messageId seems to be overwritten when the sending ends. I googled a bit, and seems…
Xanathos
  • 598
  • 3
  • 15
  • 31
6
votes
2 answers

How do you connect to a Multi-Instance Queue Manager using MQQueueConnectionFactory

We have an application which needs to communicate with a Multi-Instance QueueManager. Both (instances) are running on the default port and have unique addresses. serverA.internal.company.address serverB.internal.company.address We use the…
Randyaa
  • 2,935
  • 4
  • 36
  • 49
6
votes
4 answers

Using Websphere MQ with JMS from a .NET application

I'm trying to send a message to a java server over a Websphere MQ which uses JMS as the transport protocol. I can happily drop messages on the MQ using the IBM supplied libraries, but the server rejects them. I'm assuming (hopefully correctly)…
jonnii
  • 28,019
  • 8
  • 80
  • 108
6
votes
3 answers

MQRC_NOT_AUTHORIZED error while connecting to Websphere MQ 7.1

I am "very" new to IBM Websphere Mq, I'll try to give as much details as possible. I've got Websphere MQ 7.1 installed on Windows server 2003 running on Vmware Workstation. The Host is running Windows 7 with Websphere MQ Client and my ASP.NET…
MqDebug
  • 85
  • 2
  • 2
  • 7
6
votes
1 answer

How to do jndi lookup of MQ connection factory defined in Websphere app Server from Spring

I am trying to connect to a MQ connection factory defined in Websphere app Server 7.0. But I couldnt find a right connectionfactory interface for the MQ to define in Spring. However when I tried to hardcode the connection details in the spring…
Arun Christopher
  • 302
  • 1
  • 6
  • 20
6
votes
1 answer

What is the purpose of listener in WebSphere MQ?

When I go to my WebSphere MQ explorer, and connect to a remote queue manager and go to --> Advanced --> Listeners, I do not see any listeners defined. But I am able to create a remote JMS client, connect to this queue manager by using a channel…
Victor
  • 16,609
  • 71
  • 229
  • 409
6
votes
3 answers

MQ - view messages - text limit

While browsing the messages in MQ explorer, it only displays the first 1000 characters. We are not able to see the complete message. Is there any freeware available that can be used to view the complete message ?
saravana_pc
  • 2,607
  • 11
  • 42
  • 66
6
votes
3 answers

Type initializer for IBM.WMQ.MQQueueManager throws an exception

When I connect WebSphere MQ using C# without installing MQ server and client, I get the exception The type initializer for 'IBM.WMQ.MQQueueManager' threw an exception. I add the reference of two MQ dlls, amqmdnet.dll and amqmdxcs.dll from MQ server,…
zhiyuan_
  • 197
  • 1
  • 3
  • 10
5
votes
2 answers

How to pool the JMS connection in a standalone Java application?

We are working on an IBM WebSphere MQ application, and we use JMS API to operate the message. But we have a problem that the connection takes too much time, and we want to pool the JMS connection, for it's a standalone application, we have no…
phyerbarte
  • 199
  • 3
  • 12
5
votes
1 answer

How do I ping an IBM WebSphere MQ queue manager?

How do I ping an IBM WebSphere MQ queue manager? Is there a way through cmd.exe? Is there a way to use WebSphere to do it? I have tried runmqsc QMGR "qManager" Thanks!
OBL
  • 1,347
  • 10
  • 24
  • 45
5
votes
1 answer

WebSphere MQ: How to issue MQSC Commands using the Java API?

I'm trying to write a small application which connects to a Queue Manager and issues some commands on it, in Java. From what I have read in the documentation, I understand that one must issue commands by sending them in the…
slaphappy
  • 6,894
  • 3
  • 34
  • 59