cancel
Showing results for 
Search instead for 
Did you mean: 

Create single message in receiving side for each record in the sender file

Former Member
0 Kudos

Dear Experts,

My Interface is from FILE to MQ (JMS)..

I have a specific requirement in my project, I have multiple files in sender directory ( /tmp)

Ex: FILE_20090202.TXT

FILE_20090203.TXT

FILE_20090204.TXT

FILE_20090205.TXT

And each file has couple of records just shown below:

ABC 123 WER SER

BCD 345 WEDR SER

CDE 567 GHTE DDGG u2026. Etc..

I have to process all the files at a time ( may be I can use file masking by FILE*.txt) , one message has to be created in MQ for each record of the file..

Ex:

Message 1: ABC 123 WER SER

Message 2: BCD 345 WEDR SER

Message 3: CDE 567 GHTE DDGG

Valuable inputs are appiciated !!

Cheers,

Kumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

As already suggested, multi-mapping can be used

You need to set target root node occurrence to unbounded and map root node accordingly

you will have to use enhanced interface determinaion

For detail refer:

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Answers (2)

Answers (2)

Former Member
0 Kudos

thanks for your valuable inputs..

Cheers,

Kumar

prateek
Active Contributor
0 Kudos

Options are:

1. Use mulitmapping without BPM and perform 1:N mapping

2. Use Recordset Per Message = 1 in FCC.

Regards,

Prateek