You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by johper <ka...@hotmail.com> on 2007/04/01 12:16:34 UTC
Re: servicemix-ftp SU in SA
This works when full path is used on the poller
(/home/default-ftp-user-dir/inbox)
instead of '/inbox'
johper wrote:
>
> Hi,
> Trying to move from LW to JBI FTP, but SA does not work, it deploys with
> no errors but does not pull (it does connect to FTP-server)?
>
> servicemix-ftp service unit xbean.xml :
> ========================================
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
> xmlns:p="http://comp.com/p/1.0">
> <classpath>
> <location>.</location>
> </classpath>
> <ftp:poller service="p:ftpPoller"
> endpoint="endpoint"
> targetService="p:ftpSender"
> uri="ftp://user:pass@1.1.1.1/inbox" />
> <ftp:sender service="p:ftpSender"
> endpoint="endpoint"
> uri="ftp://user:pass@1.1.1.1/outbox" />
> </beans>
>
> service unit jbi.xml:
> ==============
> <?xml version="1.0" encoding="UTF-8"?>
> <jbi xmlns="http://java.sun.com/xml/ns/jbi" version="1.0">
> <services xmlns:p="http://comp.com/p/1.0" binding-component="false">
> <consumes interface-name="p:ftpPoller" service-name="p:ftpPoller"/>
> <provides interface-name="p:ftpSender" service-name="p:ftpSender"
> endpoint-name="endpoint"/>
> </services>
> </jbi>
>
> service assembly jbi.xml:
> =========================
> <?xml version="1.0" encoding="UTF-8"?>
> <jbi xmlns="http://java.sun.com/xml/ns/jbi" version="1.0">
> <service-assembly>
> <identification>
> <name>p-sa</name>
> <description>P</description>
> </identification>
> <service-unit>
> <identification>
> <name>p-ftp-su</name>
> <description>P FTP service unit</description>
> </identification>
> <target>
> <artifacts-zip>p-ftp-su.zip</artifacts-zip>
> <component-name>servicemix-ftp</component-name>
> </target>
> </service-unit>
> </service-assembly>
> </jbi>
>
>
--
View this message in context: http://www.nabble.com/servicemix-ftp-SU-in-SA-tf3486942s12049.html#a9776340
Sent from the ServiceMix - User mailing list archive at Nabble.com.