Author |
Message
|
venuprsd |
Posted: Mon May 30, 2011 2:39 am Post subject: Correlating |
|
|
Apprentice
Joined: 15 Aug 2010 Posts: 44
|
Hello Experts,
I am getting one large XML,debulking that and sending to four IBM Legacy systems. This is Asynchrounous call. While getting the response how can I correlate the particular response.Can any one tell the approach? |
|
Back to top |
|
 |
shashivarungupta |
Posted: Mon May 30, 2011 3:52 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
As far as I understood, your call is asynchronous, sending the mgs (as xml) to 4 different systems and not waiting for response at that time only., but when it comes back (4 diff. responses) you need to identify which response is from which system !
hmm... System which is sending the reply msg can add a unique field in reply msg (if that permits to the message architecture and do not disturb the business payload) which would represent who is sending it as reply Or the message header you can check from where its coming (Put Application name).
By the way, when you are sending the xml msgs to four diff. systems, do you expect the similar kind of reply from each of'em ?
*There is a difference between a REPLY and RESPONSE., REPLY to a request which typically returns to the requestor, and a RESPONSE which could be distributed among targets.
When you google it, you would also find that these terms are used synonymously, in general. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon May 30, 2011 3:59 am Post subject: Re: Correlating |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
venuprsd wrote: |
Hello Experts,
I am getting one large XML,debulking that and sending to four IBM Legacy systems. This is Asynchrounous call. While getting the response how can I correlate the particular response.Can any one tell the approach? |
Only if we can read your mind.
You are not supplying enough information.
For instance do you have any batch identifying information on the messages?
If this is not the case, can you create any, like filename + timestamp, and add it to each message?
And you really meant the particular responses as in plural as you would have (I expect) one response per message. You might have to save the responses into a DB and aggregate them.
You also did not speak about any error resolution process, backout process, or otherwise about what needs to be done should any of the messages from the batch not be successful...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
CaseyU |
Posted: Mon May 30, 2011 10:41 pm Post subject: |
|
|
Newbie
Joined: 30 May 2011 Posts: 2
|
|
Back to top |
|
 |
shashivarungupta |
Posted: Mon May 30, 2011 10:54 pm Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
CaseyU wrote: |
Informative corner! I am working on my research project for IBM and supposedly this thread had helped me a lot. |
Appreciate your reply.
Other then just this there are lots of many very important discussions in this forum on middleware technologies, you can 'search' related topics (in center panel, below register button) which would help you in your research work.
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
venuprsd |
Posted: Tue May 31, 2011 1:08 am Post subject: Correlating |
|
|
Apprentice
Joined: 15 Aug 2010 Posts: 44
|
Thank you for the reply.
Continutation for the disussions.
I will get the response in ASCII,EBCDIC and XML format after that I need to FANIN into single response and send it to the final target system(Request System).
For example If i go for aggregation, it supports only parallel process but i will not get all the responses at a time.I might get the messages at a time or one after the other. Some times I will get the response from some of the systems.In that scenario wait for some another system responding,if that system not sending the response,debulk the rest of the msg and send it to final system.Please suggest me how can i wait for the timeout?Is MQGET node suggestable for this approach? |
|
Back to top |
|
 |
exerk |
Posted: Tue May 31, 2011 1:56 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
shashivarungupta wrote: |
CaseyU wrote: |
Informative corner! I am working on my research project for IBM and supposedly this thread had helped me a lot. |
Appreciate your reply.
Other then just this there are lots of many very important discussions in this forum on middleware technologies, you can 'search' related topics (in center panel, below register button) which would help you in your research work.
 |
CaseyU has already been reported to the relevant authorities - his/her second post contained a spam link. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Tue May 31, 2011 2:25 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
exerk wrote: |
CaseyU has already been reported to the relevant authorities - his/her second post contained a spam link. |
I noticed his recent activity in News/Update section , on an old post., I doubted why he provided that link there. Caseyu you are under scan !
Thanks buddy for your vigilance.  _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
|