I'm not sure what your route looks like.
But according the stack trace, it looks like your cxf endpoint configuration is wrong. It's better idea to let you know if the cxf endpoint is wrong.

>org.apache.camel.FailedToCreateProducerException: Failed to create Producer
> for endpoint: Endpoint[cxf://bean:serverEndpoint?dataFormat=MESSAGE].
> Reason: org.apache.cxf.service.factory.ServiceConstructionException: Failed
> to create service.

Willem

On 3/10/11 9:49 AM, Bill wrote:
Hi,
I am using spring.

assuming the cxf endpoint is not a invalid endpoint, It is just not running
when the camelcontext starts.

what I want it's when camelcontext starts , it do not check the cxf endpoint
is started or not.

Just throws exception when I invoke cxf endpoint if the cxf server not
started yet.

--
View this message in context: 
http://camel.465427.n5.nabble.com/how-can-I-hand-the-webservice-error-when-starting-the-camel-tp3413719p3422629.html
Sent from the Camel - Users mailing list archive at Nabble.com.



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Reply via email to