Skip to Content
author's profile photo Former Member
Former Member

JMS content conversion using Message transformation bean

This is working fine with end separator '\n' (new line) if data comes in one line, but one of the field is

containing data in multiple lines with few lines empty. I have tried with end separator as '#' or '\x

HEXCODE in Module but its not working.

What character I need to mention as data in sender File as end separator and how it should be ?

What character I need to mention in end separator parameter in CC and how it should be ?

Iam expecting the adapter is taking \n only as end separator, coz its truncating whenever newline is

occuring. Is there any procedure to change the end separator ?

Can u provide with an example.

Example Data:

HEADER|42s393694|C|15s00|XXXXXXXXXx|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXxxx

THXXXXXXXXX|20dfsdfsdE|4 - in dfdsdervice|7s9B|NsO|YsES|A||1ss01000|07|XXx|0042800000|33406||PAXXX

XXXXXXXXXXXXXXXXX

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 08, 2010 at 01:19 PM

    > Iam expecting the adapter is taking \n only as end separator, coz its truncating whenever newline is

    > occuring. Is there any procedure to change the end separator ?

    An end separator seprates lines. Maybe you have understood something wrong?

    Figure out, how data in the file are separated. When there is no separator of the data, then you you cannot use FCC.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.