camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pannereselvam <panneer.prak...@gmail.com>
Subject <to URI="${url from request message}">
Date Thu, 08 Aug 2013 12:49:55 GMT


Dynamic url need to populated in 'to uri'. 
sample XML:
...
<urn:supplierEndPoint>http://www.google.com</urn:supplierEndPoint>
...
Camel_config.xml
<setHeader headerName="url">
 <xpath
resultType="java.lang.String">/soapenv:Envelope/soapenv:Header/urn:ESBMetaData/urn:supplierEndPoint</xpath>
</setHeader>  
<log message="${header.url}" /> - Works fine. I can see the url in log.
<to uri="${header.url}" /> - Error....


Error : 
Caused by: org.apache.camel.NoSuchEndpointException: No endpoint could be
found for: ${header.url}, please check your classpath contains the needed
Camel component jar.

Which component required?

Thanks in advanced. 





--
View this message in context: http://camel.465427.n5.nabble.com/to-URI-url-from-request-message-tp5736992.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message