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

Java 8 Supplier overloadings break all DSLs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • None
    • None
    • 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: davsclaus, lb

      Attachments

        Activity

          People

            lb Luca Burgazzoli
            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