|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
[SOLVED]Multiple Queue Managers w/same name |
« View previous topic :: View next topic » |
Author |
Message
|
jmac |
Posted: Thu Jul 10, 2003 5:10 am Post subject: [SOLVED]Multiple Queue Managers w/same name |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I have the following situation in an MQWorkflow environment. It is my belief that this problem is not due to MQWF.
I have a java program which recieves a message that requires a reply to FMCQM/EXEXMLINPUTQ on Host1. This program is required to send a message to FMCQM/EXEXMLINPUTQ on Host2. The following is what I am currently observing:
Application receives control with the appropriate Replyto QMGR/Q on Host 1.
Application sends message to Host2 by specifiying Host, port and channel.
Host2 performs its required task and returns to the App on Host1.
Host1 sends its reply (based on my log) but MQWF never recieves it.
Based on some testing we've done, I am pretty certain that what is happening is that the reply that is meant for Host1 is somehow being sent to Host2 and thus MQWF thinks the app is still running, I have not been able to proove this 100% but I am fairly certain that this is the case. I know if I remove the code from the Application that contacts Host2, the app sends its reply and MQWF is happy.
Not being really up on MQ, I am confused as to how this can be happening. IF anyone can shed some light on this I would be very appreciative.
THANKS. _________________ John McDonald
RETIRED
Last edited by jmac on Thu Jul 10, 2003 1:59 pm; edited 1 time in total |
|
Back to top |
|
 |
leongor |
Posted: Thu Jul 10, 2003 7:08 am Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
Quote: |
Application receives control with the appropriate Replyto QMGR/Q on Host 1.
Application sends message to Host2 by specifiying Host, port and channel.
Host2 performs its required task and returns to the App on Host1.
Host1 sends its reply (based on my log) but MQWF never recieves it.
|
In the last line - how application knows to reply to Host1 ?
When it get message from Host2 does it sends reply by ReplyQ/QM fields or specifically to host1 ? _________________ Regards.
Leonid.
IBM Certified MQSeries Specialist. |
|
Back to top |
|
 |
jmac |
Posted: Thu Jul 10, 2003 7:12 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I believe that I have found the problem. There is a static reference to the MQEnvironment and this is what is causing the problem. Once the hostname, channel, and port are set, they are never being cleared. I will mark this topic solved once my testing is complete, and post an update if I find that my current theory (static reference) is not correct.
THANKS _________________ John McDonald
RETIRED |
|
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
|
|
|
|