I need to convert an xml to a java object in MULE.
<porto>
<nome>example</nome>
<nave>
<x> a </x>
<y> b </y>
</nave>
<nave>
<x> c </x>
<y> d </y>
</nave>
</porto>
The problem I'm having is that I can't find a way with the "XML to Object" component to save the double "nave" component into the class.
I can't use Enterprise edition and can't change the xml. I can't use the JAXB approach either.
I managed to solve the problem using the right annotation in the class:
@XStreamImplicit
private List<Nave> nave;