I need to take an MQSeries message in a flat file format and convert it to XML before processing. I have configured the modules as described by the screenshot located here:
http://www.radesix.com/JMSConfig.jpg
The message is received however it isn't converting to XML. When I view the payload I get the message indicated by the screenshot located here:
http://www.radesix.com/JMSError.jpg
I am new to XI. Any ideas?
This documentation seems to indicate that PLAIN2XML is an arbitrary name. What seems to count is the conversiontype parameter. We are using Struct2XMLService since the flat file is of fixed length, not delimited.
Does anyone have a working example of this scenario?
Thanks
Your conversion Type is set to StructPlain2XML but your configuration works only with SimplePlain2XML.
For a good documentation go to Plain J2SE adapter -> Configuring the Sender File/FTP adapter
Scroll to point 8: FILE2XMBWITHSTRUCTURECONVERSION
All the here described and explained parameters you have to use for StructPlain2XML.
(For SimplePlain2XML you use the parameters described under 7 FILE2XMBWITHROWCONVERSION)
Regards
Stefan
Add a comment