camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ghoshp29 <pralay.gh...@gmail.com>
Subject Re: Unable to resolve named parameter in camel route
Date Wed, 23 Dec 2015 08:54:05 GMT
One typo in the camel route syntax. Correct syntax used in application is
below - 

from("timer://foo?period="+serverData.getTimer()).threads(serverData.getNumberOfInstances()).setBody(constant(serverData.getSql())).to("jdbc:"
+ serverData.getUrl() + serverData.getUserId()).setBody(constant("insert
into new_raw_table_test (numbersubscribers, id) values(:?numbersubscribers,
:?id)")).
to("jdbc:" + serverData.getUrl() +
serverData.getUserId()+"?allowNamedParameters=true&outputType=SelectOne&useHeadersAsParameters=true&resetAutoCommit=false").process(custom
application logic);





--
View this message in context: http://camel.465427.n5.nabble.com/Unable-to-resolve-named-parameter-in-camel-route-tp5775388p5775389.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message