BTW, I am using IONA FUSE ESB version 3.3.0.8 using JDK 1.5.0_14

rmunjuluri wrote:
> 
> Hello,
> 
> I am trying to tie a simple file:poller that polls my local directory for
> a file. When a file becomes avaible in the local directory, the
> File:poller bean should send it to an external FTP server via FTP:sender
> configuration. I have configured this but I do get the following exception
> at startup.
> 
> ============ EXCEPTIONTRACE ================
> <loc-message>Endpoint is not of type: [class
> org.apache.servicemix.ftp.FtpPollerEndpoint, class
> org.apache.servicemix.ft
> p.FtpSenderEndpoint] but is of type: class
> org.apache.servicemix.file.FilePollerEndpoint</loc-message>
> <stack-trace><![CDATA[javax.jbi.management.DeploymentException: Endpoint
> is not of type: [class org.apache.servicemix.ft
> p.FtpPollerEndpoint, class org.apache.servicemix.ftp.FtpSenderEndpoint]
> but is of type: class org.apache.servicemix.file
> =================== XBEANS.xml===============
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0";
>            xmlns:file="http://servicemix.apache.org/file/1.0";
>           
> xmlns:ServiceProviders="http://www.pictorsolutions.com/ServiceProviders";>
> 
>   <!-- Poller -->
>   <file:poller service="ServiceProviders:FTPPoller"
>                  endpoint="FTPPollerEndpoint"
>                  targetService="ServiceProviders:FTPSender"
>                 
> file="file:D://users/rambabu/Pictor/projects/soa/prototyping/integration/testfiles/inbox/ftp">
>   </file:poller>
> 
> 
>   <!-- FTP Sender -->
>   <ftp:sender service="ServiceProviders:FTPSender"
>                    endpoint="FTPSenderEndpoint"
>                    uri="ftp://ftpuser:[EMAIL PROTECTED]/"
>                    overwrite="true"
>                    uploadSuffix=".done">
>   </ftp:sender>
> </beans>
> 
> is there something missing here?
> thanx in advance
> -ram
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/File%3APoller-to-FTP%3ASender-tie.-tp16793229p16793230.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to