If you want to structure your code with packages for different JAXB annotated classes, for example after generating JAXB from different WSDLs, do not try to define severall jaxb context elements in Mule ESB, as this is going to fail at runtime.


This results in: org.mule.api.registry.RegistrationException: More than one object of type class javax.xml.bind.JAXBContext registered but only one expected.

The right way to this is to separate packages via a „:“.

Alle Beiträge von Dominik Bial

Schreibe einen Kommentar