cancel
Showing results for 
Search instead for 
Did you mean: 

PI - JMS receiver LF to CRLF

Former Member
0 Kudos

Hi All.

I have a scenario which the receiver adapter is a JMS (MQ) and it has the module MessageTransformBean to do the content conversion. However The final file is showing LF (Unix format) as its 'nl' endSeparator. My intention here is easily to replace this "LF" (Unix) to "CRLF". (Windows format).

just below the module localejbs/AF_Modules/MessageTransformBean I added the module: SAP XI Sample/ConvertCRLFfromToLF

and in the module configuration I set up:

Parameter Name: convert

Parameter Value: LFtoCRLF

But the file is getting the FL as its line breaker. It seems that it's ignoring the module to replace LF to CRLF.

Does someone can help me saying what step I'm missing setting this adapter up?

Thanks,

Regards,

Diego

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor

Hi,

try parameter name - mode and not convert

Parameter Name: mode

Regards,

Michal Krawczyk

Former Member
0 Kudos

It's funny because I had tried several different ways and this morning since the first try worked. Thank you!

Answers (1)

Answers (1)

gagandeep_batra
Active Contributor
0 Kudos

Hi Diego,

can u check with endSeparator as '0x0D''0x0A'.

Regards

Gagan