Call stored procedure using Camel End Point Application [message #1738204] |
Mon, 18 July 2016 02:43  |
Eclipse User |
|
|
|
Hi,
I am trying to call a stored procedure using the Camel End Point Application.
The code looks as follows:
<to uri="sql-stored:getAllProjects(OUT INTEGER total )?dataSource=myDataSource"/>
wherein;
->myDataSource is defined in the additional bean section,
->getAllProjects is a stored procedure that gets the count of all the projects with one OUT Parameter.
I am getting the following error while deploying the model:
Exception creating route for application CallStoredProcedure Cause org.apache.camel.FailedToCreateRouteException: Failed to create route Producer-716594595 at: >>> Transacted[ref:required] <<< in route: Route(Producer-716594595)[[From[direct://default_Model115_Ca... because of Failed to resolve endpoint: sql-stored://getAllProjects(OUT%20INTEGER%20total%20)?dataSource=myDataSource due to: No component found with scheme: sql-stored
Any inputs will be helpful.
Thanks!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03027 seconds