cancel
Showing results for 
Search instead for 
Did you mean: 

Question on endSeparator in JMS sender Adapter

Former Member
0 Kudos

Hi,

My scenario is - JMS(Sender) to IDOC(Receiver). So I am picking data from MQ and populating IDOC via XI.

My source structure is below.

RecordSet( 1 : Unbounded)

Header (Occurs only one time)

Delivery (1 : Unbounded)

RecordSet can occur multiple times. Under RecordSet I have Header which occurs only one time and Delivery which can occur multiple times.

Below is the data I am getting from MQ

123456789#987654321#789456123

12345678 – Header record

  1. -- Separator between Header and Delivery record

987654321 – First Delivery record

  1. - Separator between two delivery Records.

789456123 – Second Delivery Record

I have no issues in Content conversion.

I have declared end separator like below for Header and Delivery Record.

ml.Header.endSeparator #

xml.Delivery.endSeparator #

When I declare like above it is not working .

Any body has any idea on how to take care of endseparator (#)?

Thank you,

Surya

Accepted Solutions (0)

Answers (1)

Answers (1)

justin_santhanam
Active Contributor
0 Kudos

Surya,

The '#' is between fields, why you are using <b><i>endSeparator</i></b>, instead try to use <b><i>fieldSeparator</i></b>.

Let me know the results.

Best Regards,

raj.