You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2019/12/16 06:01:00 UTC

[jira] [Commented] (CAMEL-14300) Java 8 Supplier overloadings break all DSLs

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

Claus Ibsen commented on CAMEL-14300:
-------------------------------------

Yeah lets deprecate on 3.0.1 and remove on 3.1 and add it to the upgrade guide

> Java 8 Supplier overloadings break all DSLs
> -------------------------------------------
>
>                 Key: CAMEL-14300
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14300
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Nicola Ferraro
>            Priority: Critical
>             Fix For: 3.1.0
>
>
> There are a number of issues opened in Camel K since most DSLs are no longer working. The cause is probably the addition of these overloadings of the `.process()` method that work in Java but fail in Groovy and JS:
> [https://github.com/apache/camel/commit/e38f2a0751445478a2a71620407a723ffab9ab04]
>  
> Camel K issues:
> - [https://github.com/apache/camel-k/issues/1143]
> - [https://github.com/apache/camel-k/issues/1144]
>  
> Are they really important for Camel users? Can we deprecate them and then remove in next minor?
>  
> cc: [~davsclaus], [~lb]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)