Skip to Content
Former Member
Jan 25, 2012 at 04:54 PM

dealing with new line characters using Plain2XML module



We have a JMS communication channel to process messages arriving from MQ. The message payload is in datagram form and we are using the Plain2XML module, in the MessageTransformBean, to parse and convert to xml.

We've had a few failures due to new-line characters being included in the payload from the MQ message. The NL characters have resulted in the message being parsed incorrectly. We would therefore like to add a check to deal with new-line and carriage-return characters (and potentially replace them with a space).

Does anybody have any idea how to do this?

Also, I have tried to look through the SAP documentation for the usage of the various available parameters. Although I can find example configurations, I can't find a document that lists al the available parameters and an explanation of what they do. I would appreciate it if somebody could point me to documenation for these parameters.