You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2019/10/30 23:04:06 UTC

[GitHub] [camel-k] hguerrero opened a new issue #1035: can't use a function processor with javascript

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:
users@infra.apache.org


With regards,
Apache Git Services