camel sql-stored component. How to pass INOUT oracle parameter? - apache-camel

I am using camel 2.18 camel-sql component for calling stored procedures. Is it possible to call oracle stored procedure which has an INOUT parameter?

INOUT is not supported, only IN or OUT, where IN is the default.

Related

Camel Bean IO use Java annotation instead of Xml Mapping

We are creating an output file which has different format per line, and this group of lines will repeat. Bean Io provides excellent support for the same with "groups" and "records"
We are using Camel for the same and BeanIo dataformater in Camel is looking for a mapping XML.Bean IO Mapping file
https://camel.apache.org/components/3.16.x/dataformats/beanio-dataformat.html
Stand alone versions of the BeanIO provide annotation to create the "Groups" and "Records". Is there a way to use the annotation in Camel as well rather than a mapping file

How does a PyFlink job call external jar?

I want to call my Java interfaces in a jar file in a PyFlink job. No solutions are found in the offical document.
It looks to me like support for this was not included in Flink 1.9, but is ongoing work. See FLIP-58. FLIP-78 and FLIP-88 may also be of interest. Note that most of these improvements will be included in the upcoming Flink 1.10 release.
You can use python table api to register java user-defined function if it satisfies your need. The signature of method is register_java_function in table_environment

Apache Zeppelin with Spark Interpreter

I am currently exploring Zeppelin with Spark interpreter. Have a question?
Once i query all the required data using Spark interpreter where does it store for further action like group by, drill down etc. For every action does it except the spark job.
The computation and storage of data is handled by Spark itself, refer to spark execution model for more details.
Link: https://spark.apache.org/docs/latest/programming-guide.html#performance-impact

can i have aspectj for Camel Component(marshal and unMarshal)?

i tried to have aspectj for camel processor, but it is not working. My pointcut is below:
#Around("execution(* org.apache.camel.processor.UnmarshalProcessor.*(..))")
Will it possible to do aspect for camel processor?? if yes, help.
Yes, you can if you put the library on the inpath in a compile-time weaving scenario, creating modified versions of the 3rd party class files and using them during runtime.
In a load-time weaving scenario you can also do it dynamically if the weaving agent is loaded before the Camel classes, which should usually be the case.
As a work-around you can change the pointcut type from execution() to call(), intercepting the callers in your own code rather than the callee in the 3rd party library.
So you have at least three options, all of which work with AspectJ (not in an "AOP lite" variant like Spring AOP though).

did DIH support for invoking procedures

Did DIH support for invoking procedures? if it supported, how to configure it? I can't find it in wiki.
Sort of. You have to write your own custom transformer, see http://wiki.apache.org/solr/DIHCustomTransformer

Resources