on 03-28-2008 3:58 AM
My requirement is to split the incoming file to 6 messages and send to 1 receiver system.
CASE 1- Can i create 6 target datatypes, 6 target message types, 6 target message interfaces to send to receiver system?
CASE 2- Can i split the incoming file into 6 files using multimapping by just creating 1 target datatype, 1 target message type, 1 target message interface to send to receiver system?
I want to know are both cases give the desired results? If both cases are possible, then in 1st case do i require to write any condition in interface determination, If yes then please provide the sample to write the condition.
Regards,
Suresh.
CASE 1- Can i create 6 target datatypes, 6 target message types, 6 target message interfaces to send to receiver system?
Yes, You can achieve it this way.
You will have 6 interface mappings. When you come to interface determination, you can add all 6 interfaces in the list based on XPATH value for unique tag for particular interfaces. the comparation use "EX", means the tag exist.
For each interface you added, select corresponding interface mapping program.
For example, you have Msg1 - Msg6 tag are in your 6 interfaces:
The Conditions are
If Msg1 Ex, then using receiver interface 1, and mapping: Src Interface - > interface 1
If Msg2 Ex, then using receiver interface 2, and mapping: Src Interface - > interface 2
...
CASE 2- Can i split the incoming file into 6 files using multimapping by just creating 1 target datatype, 1 target message type, 1 target message interface to send to receiver system?
Based on your requirement (If I understand correctly), this option does not work. Your target system is expecting 6 files, however, you only define 1 target message type, mean only this type of message sent to target, there is no mapping doing splitting.
Liang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh,
if your 6 msgs have diferent structures, then go for case 1 and have 6 mappings and in configuration have 6 reciever determinations for your 6 inbound msg interfaces............
but if you have just one structure for all 6 msgs, then go for case 2 and in configuration have 1 reciever determination.......since you have only one receiver system for all 6 msgs, you do not need conditional recever determination in this case.......in your msg mapping, you will do the mapping for outputting each of the 6 msgs.
Regards,
Rajeev Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh,
You can split one message into multiple message. For that there there is no need to create multiple message type if the target message type has same structure for all the file.
For doing this go into message tab mapping and change the occurences of target message type to 0 to unbounded and do the mapping according to ur need.
Do the same in Interface mapping(change the occurences).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
you are doing the normal file to file Scenarios
in that you have created 6 messages in sender side and one Receiver side
CASE 1- Can i create 6 target datatypes, 6 target message types, 6 target message interfaces to send to receiver system?
you can create 6 target datatypes, 6 target message types, 6 target message interfaces
but the 6 message in one file send to the reeiver file it is simple scenarios why you need to create seprate.
CASE 2- Can i split the incoming file into 6 files using multimapping by just creating 1 target datatype, 1 target message type, 1 target message interface to send to receiver system?
yes you can split the incoming file into 6 files using multimapping by just creating 1 target datatype, 1 target message type, 1 target message interface
thanks
Regards
vijay
Edited by: Vijay Yewale on Mar 28, 2008 6:32 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Case 1 - This will be used when u want separate type of structures to be sent to different receivers. Thats y u will have to create 6 target DT and MT. Here multimapping will be used. In Integration Directory, conditions in reciever determination step is not mandatotry
Case 2 - If there will be same target structure, then same type of message will be passed to all the receivers. Conditions is not mandatory in this case also but u may have a requirement to send message to receiver based on some payload field. In that case, conditions in receiver determination can be used
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.