Can NIFI expression language be used to evaluate custom functions.

For instance, we need to invoke the function,
new org.bson.types.ObjectId().toHexString()

and assign its output to our attribute, is it possible solely using EL?
Im drawing its parallel with SPEL (Spring expression language)

http://docs.spring.io/autorepo/docs/spring-framework/4.0.0.RC2/spring-framework-reference/html/expressions.html

Eg: Class dateClass =
parser.parseExpression("T(java.util.Date)").getValue(Class.class);

Class stringClass =
parser.parseExpression("T(String)").getValue(Class.class);





--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/NIFI-Expression-Language-to-Evaluate-custom-function-tp16451.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Reply via email to