L.S.,

There is no real difference between using JAXB in ServiceMix or using it in any of your other Maven-built projects. Just add the dependencies to your pom.xml and they will be packaged along with your SU/SA artifacts. For information on how to run the JAXB code generator from Maven 2, have a look at this plugin (https://jaxb.dev.java.net/jaxb-maven2-plugin/).

You can also use Camel's JAXB support (http://activemq.apache.org/camel/jaxb.html) in a Camel route inside ServiceMix. This way, you don't have to work directly with the JAXB API yourself.

Regards,

Gert

skg wrote:
Hi,
How do we perform the parsing of an xml document in servicemix using JAXB.
kindly explain early.

Reply via email to