Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-2861

BindyCSVDataFormat constructor removed, update camel-bindy example

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: component-camel
    • Labels:
      None

      Description

      Between 2.15.2 and 2.16.1 camel-bindy was refactored and the constructor method which took a package was removed. Have patched over this to get a clean build, but we need to fix so the camel-bindy quickstart works.

      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR :
      [INFO] -------------------------------------------------------------
      [ERROR] /Users/cunningt/src/switchyard/cunningt/switchyard-productbranch/quickstarts/camel-bindy/src/main/java/org/switchyard/quickstarts/camel/bindy/CamelServiceRoute.java:[34,24] no suitable constructor found for BindyCsvDataFormat(java.lang.String)
      constructor org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat.BindyCsvDataFormat(java.lang.Class<?>) is not applicable
      (actual argument java.lang.String cannot be converted to java.lang.Class<?> by method invocation conversion)
      constructor org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat.BindyCsvDataFormat() is not applicable
      (actual and formal argument lists differ in length)
      [INFO] 1 error
      [INFO] -------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 8.578s
      [INFO] Finished at: Wed Jan 13 09:40:13 EST 2016
      [INFO] Final Memory: 49M/1238M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project switchyard-camel-bindy: Compilation failure
      [ERROR] /Users/cunningt/src/switchyard/cunningt/switchyard-productbranch/quickstarts/camel-bindy/src/main/java/org/switchyard/quickstarts/camel/bindy/CamelServiceRoute.java:[34,24] no suitable constructor found for BindyCsvDataFormat(java.lang.String)
      [ERROR] constructor org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat.BindyCsvDataFormat(java.lang.Class<?>) is not applicable
      [ERROR] (actual argument java.lang.String cannot be converted to java.lang.Class<?> by method invocation conversion)
      [ERROR] constructor org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat.BindyCsvDataFormat() is not applicable
      [ERROR] (actual and formal argument lists differ in length)
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tcunning Thomas Cunningham
                  Reporter:
                  tcunning Thomas Cunningham
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: