camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bovas <bovas.t...@gmail.com>
Subject Re: Help Jaxb
Date Thu, 30 May 2013 14:26:35 GMT
I put @Autowire because i read this post
http://camel.465427.n5.nabble.com/ProducerTemplate-td4552750.html#a4553023
but nothing.

I remove the @Autowire, I have always  the same error :

*Caught: java.lang.NullPointerException: Cannot invoke method sendBody() on
null object
java.lang.NullPointerException: Cannot invoke method sendBody() on null
object*

I try several tests to use jaxb but nothing :

<http://camel.465427.n5.nabble.com/file/n5733508/jaxb.png> 

My method initialize :

<http://camel.465427.n5.nabble.com/file/n5733508/initialise.png> 

In this example the error is : 

Caught: org.apache.camel.FailedToCreateRouteException: Failed to create
route route1 at: >>>
Marshal[org.apache.camel.model.dataformat.JaxbDataFormat@559b808a] <<< in
route: Route(route1)[[From[file://c/dev/camel/in2]] -> [To[bean://v...
*because of Data format 'jaxb' could not be created. Ensure that the data
format is valid and the associated Camel component is present on the
classpath*
org.apache.camel.FailedToCreateRouteException: Failed to create route route1
at: >>> Marshal[org.apache.camel.model.dataformat.JaxbDataFormat@559b808a]
<<< in route: Route(route1)[[From[file://c/dev/camel/in2]] ->
[To[bean://v... *because of Data format 'jaxb' could not be created. Ensure
that the data format is valid and the associated Camel component is present
on the classpath*

I'm missing something.
I'm hopeless 






-----
regards,
Bovas
--
View this message in context: http://camel.465427.n5.nabble.com/Help-Jaxb-tp5733397p5733508.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message