And as you already have got the "Camel in Action" book then take a look at page 366 to see how to achieve this using maven.
Babak Am 16.08.12 14:36 schrieb "Babak Vahdat" unter <babak.vah...@swissonline.ch>: > > >Am 16.08.12 14:23 schrieb "Joe San" unter <codeintheo...@gmail.com>: > >>Which DataFormat is this? Why would it show an error in eclipse? > >You would need to add camel-jaxb 2.9.2 to your classpath as well to make >it compile. This can also be done in an automated manner if you do make >use of gradle or maven for your build. > >Babak > >> >>DataFormat jaxb = new JaxbDataFormat("com.acme.model"); >> >>from("activemq:My.Queue"). >> unmarshal(jaxb). >> to("mqseries:Another.Queue"); >> >> >>The link to the documentation is: >>http://camel.apache.org/jaxb.html >> >>I have a Camel Core 2.9.2 library. >> >>Regards, >>Jothi > >