Finally I Found the solution.

here my Service CXf endpoint is 

 <cxf:cxfEndpoint id="SpWebService" 
               serviceClass="in.gov.mit.sp.service.SEI.ConnectSubmitPortType">
               <cxf:properties>
                        <entry key="dataFormat" value="POJO"/>
                        <entry key="operationName" 
value="processSubmitDocument"/>
                        <entry key="operationNamespace"
value="http://www.mit.gov.in/eGov/schema/ConnectorServices/wsdl"/>
           </cxf:properties>       
</cxf:cxfEndpoint>      

than, i have create a header called serviceuri and use recipientList

<recipientList>
                
<simple>cxf:bean:SpWebService?address=${header.ServiceUri}</simple>
</recipientList>

provide service addree at run time.








--
View this message in context: 
http://camel.465427.n5.nabble.com/CXF-endpoint-s-address-dynamically-modified-tp3349431p5775859.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to