cancel
Showing results for 
Search instead for 
Did you mean: 

Message Transform bean for nested structures

Former Member
0 Kudos

Hi ,

I am working on the JMS sender channel  using message transform bean.

Our message type is a complex nested structure of level 2:

MT_test

     RECORD

               HEADER

                         mykey

                         Data1

                         Data2    

                         Data3 \

               ITEM1   

                        ITEMSUB1

                                   mykey

                                   Data4    

                                   Data5

              ITEM2

                        mykey

                        Data6

Currently I am specifying it as HEADER,ITEMSUB1,ITEM2 to capture the data but the output xml structure is not coming apt bringing all three nodes to the same level.

how should we specify the recordset structure?

Accepted Solutions (0)

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Anshima,

I think the MessageTransformBean shares the same limitation by the standard file sender adapter fcc, it can only convert up to three levels. You can write an adapter module though for your requirement or handle it via java mapping (unless you need it to be converted into XML for xpath reasons).

Regards,

Mark