[ 
https://issues.apache.org/jira/browse/CAMEL-4725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14279359#comment-14279359
 ] 

Arno Noordover commented on CAMEL-4725:
---------------------------------------

Would it be a good idea to create a wrapper around a spring jdbc class which 
can be used to call a stored procedure 
(http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jdbc/object/StoredProcedure.html).
 This wrapper could be instantiated with the string to be used for calling the 
stored-proc. Also a hashmap with the bind-variables as a key and a "simple" 
language to be executed for each variable as the value could be provided.
The wrapper bean should have a method with the exchange as the input parameter. 
In this method you can use the simple language to set all the variables.

For easy usage a userdefined namespace could be created as well.

> camel-sql - Add support for Callable statements
> -----------------------------------------------
>
>                 Key: CAMEL-4725
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4725
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-sql
>    Affects Versions: 2.8.3
>            Reporter: Christian Müller
>             Fix For: Future
>
>
> See 
> [Nabble|http://camel.465427.n5.nabble.com/call-Oracle-Package-procedure-td5032133.html]
>  for details.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to