Created
January 27, 2012 20:58
-
-
Save marianogonzalez/1690883 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- give jaxb a package to scan for annotations --> | |
<mulexml:jaxb-context name="myJaxB" packageNames="com.mulesoft.example" /> | |
<sub-flow name="xmlMarshalling"> | |
<!-- custom transformer that would populate your bean --> | |
<custom-transformer class="com.mulesoft.example.PayloadToBeanTransformer" /> | |
<!-- Generate the XML --> | |
<mulexml:jaxb-object-to-xml-transformer name="myMarshaller" jaxbContext-ref="myJaxB"/> | |
</sub-flow> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment