hguerrero opened a new issue #1035: can't use a function processor with 
javascript
URL: https://github.com/apache/camel-k/issues/1035
 
 
   When trying to call .process(function) in javascript i'm getting:
   
   `[19] Exception in thread "main" TypeError: invokeMember on 
JavaObject[Route[From[direct:notify] -> [Log[Inventory Notified ${body}]]] 
(org.apache.camel.model.RouteDefinition)] failed due to: Multiple applicable 
overloads found for method name process (candidates: [Method[public 
org.apache.camel.model.ProcessorDefinition 
org.apache.camel.model.ProcessorDefinition.process(java.util.function.Supplier)],
 Method[public org.apache.camel.model.ProcessorDefinition 
org.apache.camel.model.ProcessorDefinition.process(org.apache.camel.Processor)]],
 arguments: [DynamicObject<JSFunction>@719843e5 (DynamicObjectBasic)])`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to