ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » The way to make a flow

Post new topic  Reply to topic
 The way to make a flow « View previous topic :: View next topic » 
Author Message
alfonso_1973
PostPosted: Tue Aug 13, 2002 8:57 am    Post subject: The way to make a flow Reply with quote

Novice

Joined: 04 Jul 2002
Posts: 14

I have a XML message which I want to change it to three IDOCs.I have created the "In process" and "Waiting" queues .They all are grouped with the groupiId. I have to send the messages to SAP.This flow is done.
Then SAP will reply with a XML message to follow processing the IDOCS located in the waiting queue.
The problem I have is how I can make a second flow in MQSI to read the reply from SAP and get the groupid from the waiting queue and send it again to SAP.
Thanks and regards.
Back to top
View user's profile Send private message
sgopal
PostPosted: Tue Aug 13, 2002 10:17 am    Post subject: Reply with quote

Acolyte

Joined: 30 Jul 2002
Posts: 63

I am not clear on the following:

Is the XML reply Message from SAP is for every IDOC message?
Suppose, if three idocs are sent to SAP and SAP replies with 3 XML reply messages or just one XML reply message for 3 IDOCS.

Why do you want to read the reply from SAP and get groupid from the waiting queue and send it again to SAP?
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Aug 13, 2002 1:16 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

alfonso_1973,

Here is what I understand from your post ...
You are getting single XML message, which you are transforming into 3 IDOCs. First IDOC is sent as request message to SAP. Second and third IDOC message is stored on "In Process" and "Waiting" queues respectively. After you get the reply from SAP for first IDOC request message, you need to send second IDOC request message to SAP, which is retrieved from "In process" queue?? is this correct??

Based on this assumption ... Let's say you have created your first message flow (MF1), which does following processing:
1. Transforms single input XML message to 3 IDOC.
2. Sends first IDOC to SAP. Writes second IDOC to "In process" queue. Writes third IDOC message to "waiting" queue.

Now, you need to create another message flow (MF2), which gets first reply message from sAP. Based on Group-Id in reply message, it will retrieve second IDOC message from "In Process" queue. To do this, you will have to modify MQGet plug-in node to retrieve message by Group-Id. Current version of MQGet node can only retrieve message for matching MsgId and CorrelId. Message Flow 1 and 2 works in asynchronous mode.
Similarly, you will create another message flow (MF3), which gets second reply message from SAP and retrieves third message from "waiting" queue with matching Group-Id.
_________________
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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » The way to make a flow
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.