> The Apache Jenkins build system has built Camel.trunk.notest (build
> #1799)
> 
> Status: Failure
> 
> Check console output at
> https://builds.apache.org/job/Camel.trunk.notest/1799/ to view the
> results.

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
/home/jenkins/jenkins-slave/workspace/Camel.trunk.notest/camel-trunk/components/camel-jsch/src/main/java/org/apache/camel/component/jsch/ScpOperations.java:[51,7]
 org.apache.camel.component.jsch.ScpOperations is not abstract and does not 
override abstract method 
releaseRetreivedFileResources(org.apache.camel.Exchange) in 
org.apache.camel.component.file.GenericFileOperations

ScpOperations [1] implements RemoteFileOperations [2] which derives from 
GenericFileOperations [3].

There it is defined as
   /**
     * Releases the resources consumed by a retrieved file
     * 
     * @param exchange exchange with the content of the file
     * @throws GenericFileOperationFailedException can be thrown
     */
    void releaseRetreivedFileResources(Exchange exchange) throws 
GenericFileOperationFailedException;


According to the existing
    @Override
    public boolean retrieveFile(String name, Exchange exchange) throws 
GenericFileOperationFailedException {
        // TODO: implement
        return false;
    }

maybe also a 
    @Override
    public void releaseRetreivedFileResources(Exchange exchange) throws 
GenericFileOperationFailedException {
        // TODO: implement
    }


cheers
Jan

[1] 
https://svn.apache.org/repos/asf/camel/trunk/components/camel-jsch/src/main/java/org/apache/camel/component/jsch/ScpOperations.java
[2] 
https://svn.apache.org/repos/asf/camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileOperations.java
[3] 
https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/main/java/org/apache/camel/component/file/GenericFileOperations.java
    

Reply via email to