<?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> <ftp:consumer xmlns:ftp="http://servicemix.apache.org/ftp/1.0" name="ftpConsumer"> <ftp:endpoint>ftp://host:port/directory?username=username&amp;password=password</ftp:endpoint> <ftp:target> <log:display xmlns:log="http://servicemix.apache.org/logging/1.0"> <log:output>Received file: ${body}</log:output> </log:display> </ftp:target> </ftp:consumer> </blueprint>


上一篇:
下一篇:
切换中文