Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14300

Java 8 Supplier overloadings break all DSLs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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: Claus Ibsen, Luca Burgazzoli

        Attachments

          Activity

            People

            • Assignee:
              lb Luca Burgazzoli
              Reporter:
              nferraro Nicola Ferraro
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h