This content has been marked as final.
Show 3 replies
-
1. Re: Erro while starting a camel cxf application
davestanley Dec 9, 2009 9:44 AM (in response to lekkie_lomotayo)The error looks similar to CAMEL-1427. Would be worth going through that issue..
Hope that helps,
/Dave
Edited by: dstanley on Dec 9, 2009 2:44 PM
-
2. Re: Erro while starting a camel cxf application
lekkie_lomotayo Dec 9, 2009 10:12 AM (in response to davestanley)resolved
-
3. Re: Erro while starting a camel cxf application
njiang Dec 9, 2009 8:35 PM (in response to davestanley)The error is came from camel-cxf will try to grab a defaultBus is there is no bus set for the camel-cxf endpoint.
Adding the below imports will help you build a new bus to use.
<import resource="classpath:META-INF/cxf/cxf.xml"/> <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"></import> <import resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml"></import>
In Camel 2.1, we fix this issue by creating a new bus for the camel-cxf endpoint, so you don't need to import upper code to avoid this issue.