cancel
Showing results for 
Search instead for 
Did you mean: 

Sender JMS Content Conversion - How to process multiple records

former_member187437
Contributor
0 Kudos

Hi All,

I use a Sender JMS Channel with Content Conversion.

My message structure is like this

<root>

<rec> </rec>

<rec> </rec>

</root>

I have fixed length flat file with multiple records.

i have given the parameters FixedFieldLength, FieldNames and StructureTitle.

Which parameter i need to use specify the RecordDelimiter

Because my input file will have more than record

my input file -

xxxx

yyyy

if i dont specify any delimiter value, in the module parameter,then for each newline of the file, a new mesage is created.

<root>

<rec>xxxx</rec>

<root>

<root>

<rec>yyyy</rec>

<root>

But i want the output to be like this

<root>

<rec>xxxx<rec>

<rec>yyyy</rec>

</root>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

You can do your FCC for sender JMS by going through page 5 of this document.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652...

former_member187437
Contributor
0 Kudos

Thanks for your quick response.

I have given all the parameters given in the Link.

BUt still, i get a new mesage for every new record.

I want all the records in a single message.

also there is no parameter where we can specify the Record delimiter as '/nl'

Answers (0)