Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4814

BindyCSVDataFormat constructor removed, update camel-bindy example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jboss-fuse-6.3
    • jboss-fuse-6.3
    • SwitchYard
    • None
    • % %
    • 6.3 Sprint 4 (Mar 28 - Apr 29)

    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

      Attachments

        Activity

          People

            tcunning@redhat.com Thomas Cunningham
            tcunning@redhat.com Thomas Cunningham
            Stefan Veres Stefan Veres
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: