cancel
Showing results for 
Search instead for 
Did you mean: 

How to split the one record in to multiple messages

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Experts.

i am working on File to JMS scenario,Flat file contains multiple messages

single emssage is ENTERPRISE NO 00001LIVE ,I have to send the individual messages in to JMS.

suppose Flat File contains 30 *ENTERPRISE NO 00001LIVE* lines i have to split it into 30 individual messages.

any valuable inputs welcome.

many thanks,

Raja Sekhar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rajasekhar,

set Recordset Per Message = 1 in FCC

regards,

shekhar.

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Thanks for your input.

I am receiving one sting in flat file its contains multiple messages..

ENTERPRISE NO 00001LIVE ENTERPRISE NO 00001LIVE ENTERPRISE NO 00001LIVE ENTERPRISE NO 00001LIVE ENTERPRISE NO 00001LIVE ENTERPRISE NO 00001LIVE............

if i use recardset permessage =1 it will work??

Regards,

Raj

madanmohan_agrawal
Contributor
0 Kudos

Hi Raj,

>>if i use recardset permessage =1 it will work??

Yes, Put the following configuration. it will work.

 
RecordSet Structure = record,*
RecordSet per Message = 1 

record.fieldNames = DATA
record.fieldFixedLength = 10 (change it as per the length of your data)

Hope it will help

Regards,

Madan Agrawal

Answers (2)

Answers (2)

rajasekhar_reddy14
Active Contributor
0 Kudos

thanks

Former Member
0 Kudos

Raja,

Why don't you use FCC as mentioned above ?

Regards ,