|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Managing time delay |
« View previous topic :: View next topic » |
Author |
Message
|
Manikandan |
Posted: Tue Sep 07, 2004 9:03 pm Post subject: Managing time delay |
|
|
Voyager
Joined: 07 Jul 2004 Posts: 78
|
How do we manage the time delay in the transaction.
A scenario like firing a transaction which gets processed at the remote-end and then waiting & getting back the right response.
I have mentioned a wait interval in my Java code for to get back the response.
When I test my application,looks like the request transaction does not wait in there.
There seems to be a time/message lag!
Please enlighten.Thanks, |
|
Back to top |
|
 |
kirani |
Posted: Tue Sep 07, 2004 11:20 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
What do you mean by your application does not wait? If there is message on the queue then it will return right away. But if there is no response message on the queue then your application will wait for the response message on queue for the time interval that you specified in WaitInterval parameter before returning an error. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
Manikandan |
Posted: Tue Sep 07, 2004 11:35 pm Post subject: |
|
|
Voyager
Joined: 07 Jul 2004 Posts: 78
|
kirani,
actually when using my frontend,I have a delay like the second screen shows the first screen output.
The third screen does not receive any output.But after sometime when I refresh the action it gives out the output.
It is somewhat not working perfectly.Now I am working on the Correl ID section.
Thanks, |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Sep 08, 2004 5:39 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I'm still not clear on what you are trying to do. To me, it sounds like you already have the data back and the refresh is what gets your program to put it onto the screen. |
|
Back to top |
|
 |
Manikandan |
Posted: Wed Sep 08, 2004 5:57 am Post subject: |
|
|
Voyager
Joined: 07 Jul 2004 Posts: 78
|
I don't mean refresh,a seperate click/request brings the right required message.
Might be the CorreID does not match and it is picking things randomly.
Please help in as how can I use my MessageId and Correlation ID using Java programs to trigger a request and get the exact response message. |
|
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
|
|
|
|