on 09-15-2009 8:25 PM
Hello,
I'm writing an Adapter Module that supposed to convert XML source to a flat output (similar to StrictXml2PlainBean). But I'm not sure how to set the new flat content to the Message object that I'm getting from ModuleData supplied to process method of module bean. There is a method setDocument but it only accepts XMLPayload when I need TextPayload.
Can someone give the code snippet or refer to some blog where it is explained?
Also is there a source code for StrictXml2PlainBean?
Thanks,
Maxim.
Modules are a means of editing and manipulating the data in between the message entering or leaving the adapter. So you will receive an XML payload and you HAVE to return and XML playload only to the adapter. If you want to convert it to flat file, you need to use file adapter as your receiver and use fcc parameters to do that.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.