|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Client problems |
« View previous topic :: View next topic » |
Author |
Message
|
rk400 |
Posted: Thu May 01, 2003 4:24 am Post subject: MQ Client problems |
|
|
Apprentice
Joined: 04 Mar 2003 Posts: 27
|
Hi,
I have a java application using MQ client to put messages in the MQ server. My program flow is as follows:
1. Create the message.
2. Create a connection to the Qmanager.
3. Open the queue for put with openOptions = MQC.MQOO_OUTPUT | MQC.MQOO_SET_IDENTITY_CONTEXT ;
4. Put the message in the local queue(persistent) of the Qmanager using pmo.options = MQC.MQPMO_SET_IDENTITY_CONTEXT | MQC.MQPMO_SYNCPOINT;
5. Commit the qmanager.
6. Update the local database the the message is sent.
My problem is I have sent 20 messages and all of them are in "SENT" status in the database and there are no traces for the messages at the other end. We have done the exception handling properly in the client application. We have checked the DEADQ at the other end.
Configuration details are as follows:
1. MQ client 5.2 and MQ classes for java 5.2.2 on the windows 2000 machine.
2. MQ server 5.2 on windows 2000 server with CSD06 applied.
Let us know if there is any problem in our approach.
Regards,
RK |
|
Back to top |
|
 |
JohnMN |
Posted: Thu May 01, 2003 6:26 am Post subject: |
|
|
Novice
Joined: 26 Feb 2003 Posts: 19
|
Is the "other end" on the same QManager as the sending program? If it's a remote QManager, you may have channels that aren't running. The messages would be in the transmission queue for the channel.
In fact, it wouldn't hurt to check your queue and channel definitions.
If it's a local Qmgr, the only thing I can think of off-hand is that another program is stealing the messages. You can do a DISPLAY Q(name) and check the IPPROCS. That will tell you how many programs are getting messages from the queue.
John |
|
Back to top |
|
 |
bower5932 |
Posted: Thu May 01, 2003 8:14 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|