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
1
vote
0 answers

Spring JMS MQListener not consuming messages automatically

I have a Spring boot JMS application used for consuming and sending messages to IBM mQ. We have around 10 IBM MQ configured for this application and I'm using SimpleMessageListenerContainer with CachingConnectionFactory to avoid multiple connection…
dev S
  • 11
  • 1
1
vote
2 answers

JMeter JMS Publisher IBM MQ Java.lang.NoClassDefFoundError

Getting Error for JMS IBM MQ Response message: javax.naming.NamingException: Lookup failed: java.lang.NoClassDefFoundError: com/ibm/disthub2/impl/client/SessionConfig Followed the steps from here:…
rpagadala
  • 796
  • 2
  • 15
  • 31
1
vote
1 answer

How does pip know what compiler to use when building a native code extension?

I have both Visual Studio 2017 Community and TDM-GCC both installed on my Windows 10 box. Everything is 64-bit. I've been trying to pip install pymqi, but so far I haven't had much luck. Without going into too many irrelevant details, I'm trying…
1
vote
3 answers

Put and Get Messages to IBM MQ from java code

I'm learning IBM MQ. I need to put and get messages to IBM MQ from java code using the best practices. I did this question but I don't know if it's the best way: How to put and get IBM MQ messages without application server Could you give me some…
Marcel
  • 421
  • 2
  • 8
  • 18
1
vote
2 answers

How to get port number of queue manager in MQ

i want to know port number of Queue​ manager on my server.how to find it? What is the command to find it in message queueing
omi138
  • 131
  • 2
  • 4
  • 11
1
vote
2 answers

Issue While Setting MQRFH2 header in IBM MQ

I am trying to send an MQ Message with MD and RFH2 headers set. I need the Message to appear like this on AppWatch. But the RFH2 part comes as a part of Message data as a continous string. am using the following code: MQMessage msg = new…
FAIZAN
  • 271
  • 1
  • 6
  • 16
1
vote
1 answer

dmpmqcfg command not found in IBM MQ 7.0.1.6

I want to get the Queue details created for 7.0.1.6. I am running “dmpmqcfg” command But the command is not found in my bin directory in IBM MQ 7.0.1.6.
Sniper
  • 11
  • 4
1
vote
0 answers

IBM MQ How to tell if your JNDI Bindings are LDAP

I'm currently in the process of migrating an application from AIX to LINUX. One of the processes is to install and setup MQ. I've gotten past setting up the Connection Factory and Activation Spec in my server.xml. My application is connecting to…
fergp25
  • 41
  • 4
1
vote
2 answers

IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2059'

I'm trying to send a message to IBM MQ (Version: 9.0.0.0), code bellow. * I have tried with\without the userid and password. When I try the same code with IBM MQ installed on my machine (localhost) it works smoothly. private static void foo() throws…
Hanash Yaslem
  • 53
  • 1
  • 9
1
vote
2 answers

MQ Explorer --Queue Handle Status-- Handle State showing inactive

I am able to connect, pass the data to MQ , but not able to retrieve data from MQ. On some base level analysis I found out that the only difference between successful messages and unsuccessful one is the 'Handle State' column; which is inactive for…
1
vote
1 answer

Invalid MQ header structure

I am trying to put a message with an RFH2 header in a queue using MQPUT function. Said function returns completion code 2 and reason 2142 which according to IBM docs means that header structure is not valid. Docs on this link specify the fields that…
HighPredator
  • 790
  • 4
  • 21
1
vote
0 answers

How can I create my own JMSTemplate?

I am new to JMS and MQ. As I know in order to be able to read messages from IBM MQ through JMS, messages have to have JMS header. I don't have a chance to add JMS header. Therefore, I want to create some sort of MQTemplate that also supports…
Sayaninja
  • 11
  • 1
1
vote
1 answer

How is message exchange implemented in IBM MQ: push or pull?

I'd like to understand what is the implementation of the JMS drivers for WebSphere MQ. I'm not interested in the JMS sync/async methods directly but rather in their implementation. If an application is deployed on a J2EE server and performs…
spakendralo man
  • 635
  • 2
  • 8
  • 21
1
vote
1 answer

How to list and filter authority records in IBM MQ?

I am using MQ PCF to list authority records associated with a queue manager. Here is code. PCFMessageAgent agent = new PCFMessageAgent(queueManager); agent.setCheckResponses(false); PCFMessage[] responses; PCFMessage request = new…
A j
  • 1,069
  • 2
  • 16
  • 29
1
vote
3 answers

Use XMS Webshere Mq without installing MQ client

Hi I want to use XMS library without installing mq client to my local machine,but I got these error.When i check ibm feature set they said we fix it but how?I also tried 8.0.0.7 version but error is…
Bilgehan
  • 1,135
  • 1
  • 14
  • 41
1 2 3
99
100