I also tried following, but this throws exceptions:

2010-10-21 11:40:34,150 [WARN ] DefaultManagementLifecycleStrategy - Could
not unregister service:
Consumer[http://service-test1.test:8420/rating-bus/verizonImportTest] as
Service MBean.
javax.management.InstanceNotFoundException:
org.apache.camel:context=service-test1/camelContext,type=consumers,name=CxfConsumer(0x2eb6fb)

2010-10-21 11:40:34,157 [WARN ] DefaultManagementLifecycleStrategy - Could
not unregister service:
sendTo(Endpoint[http://service-test1.test:8380/destination-server/verizonImport])
as Service MBean.
javax.management.InstanceNotFoundException:
org.apache.camel:context=service-test1/camelContext,type=processors,name=SendProcessor(0x169c398)


org.apache.camel.FailedToCreateProducerException: Failed to create Producer
for endpoint:
Endpoint[http://service-test1.test:8380/destination-server/verizonImport].
Reason: java.lang.NullPointerException



  <cxf:cxfEndpoint 
     id="importerEndpoint" 
     serviceName="myservice:VerizonDestinationImportService"
    
address="http://service-test1.test:8380/destination-server/verizonImport";
    
wsdlURL="http://service-test1.test:8380/destination-server/verizonImport?wsdl";>

    <cxf:properties>
      <beans:entry key="portName"
value="VerizonDestinationImporterImplPort"/>
      <beans:entry key="dataFormat" value="MESSAGE"/>
      <beans:entry key="receiveTimeout" value="120000"/>
      <beans:entry key="connectionTimeout" value="120000"/>
    </cxf:properties>
   </cxf:cxfEndpoint>

    <camelContext 
        id="camelContext" 
        xmlns="http://camel.apache.org/schema/spring"; 
        xmlns:lookupservice="http://www.tc.nl/nl.tc.rating.destination-service"; 
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
        xmlns:tns="http://www.tc.nl/nl.tc.rating.destination-service"; 
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
        xmlns:xsd="http://www.w3.org/2001/XMLSchema";
        trace="true" 
        autoStartup="true">

       <route>
        <from
uri="cxf://http://service-test1.test:8420/rating-bus/verizonImportTest?wsdlURL=http://service-test1.test:8380/destination-server/verizonImport&#63;wsdl&amp;serviceName={http://www.tc.nl/nl.tc.rating.destination-service}VerizonDestinationImportService&amp;portName={http://www.tc.nl/nl.tc.rating.destination-service}VerizonDestinationImporterImplPort&amp;dataFormat=MESSAGE";
/> 
         <to uri="cxf:bean:importerEndpoint" />
       </route>
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-CXF-Producers-And-Timeout-Configuration-tp477973p3230161.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to