You use the Spring annotation @Autowire for your ProducerTemplate which is null when you try to use it. You wrote that you don't use Spring?
You will need a CamelContext for your route to run in as well. Kind regards, Magnus Palmér 2013/5/29 Bovas <bovas.t...@gmail.com> > Hi, > > I use camel 2.11, jdk1.6, Groovy language. > I have problem in use Jaxb. I don't understand the problem. > I read this http://camel.apache.org/producertemplate.html > I try this solution > http://camel.465427.n5.nabble.com/ProducerTemplate-td4552750.html#a4553023 > (only Pojo, no spring) > > Can someone help me please? or give me a simple use of jaxb. > > <http://camel.465427.n5.nabble.com/file/n5733397/jaxbtest.png> > > My class customer : > > <http://camel.465427.n5.nabble.com/file/n5733397/customer.png> > > regards, > Bovas > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Help-Jaxb-tp5733397.html > Sent from the Camel - Users mailing list archive at Nabble.com. >