Spring Integration
  1. Spring Integration
  2. INT-1444

fileType isnt propagated for the FTP outbound adapter

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 2.0 RC1
    • Component/s: None
    • Labels:
      None

      Description

      this was noticed by 'Doug' on the File transfer blog post http://blog.springsource.com/2010/08/23/secure-file-transfer-the-only-way-to-fly/

      He says:
      'When I try the FTP section I get the following error as app starts up:

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.ftp.FtpSendingMessageHandlerFactoryBean#0': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'fileType' of bean class [org.springframework.integration.ftp.FtpSendingMessageHandlerFactoryBean]: Bean property 'fileType' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

      I'm using the 2.0.0.M7 jars. Any ideas?'

        Activity

        Hide
        Josh Long added a comment -

        ive updated trunk with the fix. please try it out and let me know.

        git clone git://git.springsource.org/spring-integration/spring-integration.git ;
        cd spring-integration;
        mvn -DskipTests clean install

        the the jars should be available as 2.0.0.BUILD-SNAPSHOT in your repos.

        Show
        Josh Long added a comment - ive updated trunk with the fix. please try it out and let me know. git clone git://git.springsource.org/spring-integration/spring-integration.git ; cd spring-integration; mvn -DskipTests clean install the the jars should be available as 2.0.0.BUILD-SNAPSHOT in your repos.
        Hide
        Oleg Zhurakousky added a comment -

        Issue seemed to be fixed, so just added several tests to validate

        Show
        Oleg Zhurakousky added a comment - Issue seemed to be fixed, so just added several tests to validate

          People

          • Assignee:
            Oleg Zhurakousky
            Reporter:
            Josh Long
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: