Skip to Content

Sender JMS Content Conversion - How to process multiple records

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>

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jul 02, 2008 at 02:02 PM

    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-c5faa652b710

    Add comment
    10|10000 characters needed characters exceeded

    • 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'