cancel
Showing results for 
Search instead for 
Did you mean: 

JMS content Conversion

0 Kudos

Hi Experts,

I have an requirement where PI needs to send a flat file to receiver. So accordingly i have done the content conversion(XML to Plain) at receiver communication.After the content conversion,the flat file is getting all the data in a single line. My requirement is every segment(i have 3 segments i.e. Head,body,tail) data needs to get in a new line. Below is the parameters used  for line breaking,but i am still receiving all the data in a single line.

Could you please suggest me to resolve this issue.

Accepted Solutions (1)

Accepted Solutions (1)

Harish
Active Contributor
0 Kudos

Hi Bharat,

Please try with hexadecimal value

'0x0D''0x0A'


regards,

Harish

0 Kudos

Hi Harish,

I have tried with hexadecimal value,but still getting all the data in single line.

0 Kudos

Hi Harish,

Conversion is working now. Thanks for information

Answers (1)

Answers (1)

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Bharath,

Did you check the payload by downloading to your system and if you open the message, are you able to see the all data in one line and in multiple lines as configured by MTB.

As it is a normal thing, we will just use endSeparator as 'nl' to get the data in multiple lines.

Also, please check with your receiver system whether they have any constraint on the message to come in multiple lines or not.

Regards