|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
real time solution through mq/mqsi |
« View previous topic :: View next topic » |
Author |
Message
|
virendra_k_singh |
Posted: Wed Jul 03, 2002 9:57 pm Post subject: real time solution through mq/mqsi |
|
|
Newbie
Joined: 26 Jun 2002 Posts: 9
|
Hi
Is it advisible to get real time solution from mq/mqsi combination ?
I am giving the example if application 1 puts the message in queue.MQsi does some routing and put in othere queue.Application 2 reads the queue does some operation and pute the data in queue back.
Till that time application 1 waits for the response.Depending upon the response application 1 proceeds.(Application 1 is internet application i.e.e user is also waiting for reponse) .
Thanks |
|
Back to top |
|
 |
amigupta1978 |
Posted: Wed Jul 03, 2002 10:36 pm Post subject: |
|
|
Centurion
Joined: 22 Jan 2002 Posts: 132 Location: India
|
yes u can do that.
FIrstly tell how ru using the MQ. I mean using MQ JMS or MQseries Native API's
Just set the reply to and reply to QMGR when ur first application put the message in the queue for MQSI. and wait(As in ur case to listen at the reply back) After the application2 get the msg from the MQSI it shud send reply back to Q/QMR as defined in replytoQ and ReplytoQMgr.
This all depends on ur application design that whether the first application wait indefinitely to receive the msg or it might set some timeout and then assumes that to be an error.
Rgds,
Amit |
|
Back to top |
|
 |
virendra_k_singh |
Posted: Wed Jul 03, 2002 10:58 pm Post subject: |
|
|
Newbie
Joined: 26 Jun 2002 Posts: 9
|
Actually Application 2 reads the data and do the communication with other applications after getting the response from those application it has to sent back the response as a reply. So i can not use the reply que option .. |
|
Back to top |
|
 |
kirani |
Posted: Thu Jul 04, 2002 9:05 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
You could think of having dedicated Request and Reply queue.
1. Application 1 puts a request message on request queue (RQ) and waits on reply queue (RP) for N seconds with matching CorrelID.
2. MQSI MQInput node listens to RQ queue, transforms the message and put transformed message on another queue (Q1).
3. Application 2 listens on queue Q1, after it gets message it will communicate with other applications to get more data. Once aggregated reply message is generated, it will put reply message on reply queue (RP). It copies Msg-ID into Correl-ID before putting the message on RP queue.
4. Application 1 gets the reply message and presents it to the user. _________________ 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 |
|
 |
|
|
 |
|
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
|
|
|
|