camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r855193 - in /websites/production/camel/content: cache/main.pageCache camel-2110-release.html examples.html ftp-example.html
Date Wed, 20 Mar 2013 13:18:33 GMT
Author: buildbot
Date: Wed Mar 20 13:18:33 2013
New Revision: 855193

Log:
Production update by buildbot for camel

Added:
    websites/production/camel/content/ftp-example.html
Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/camel-2110-release.html
    websites/production/camel/content/examples.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/camel-2110-release.html
==============================================================================
--- websites/production/camel/content/camel-2110-release.html (original)
+++ websites/production/camel/content/camel-2110-release.html Wed Mar 20 13:18:33 2013
@@ -123,7 +123,7 @@
 
 <h3><a shape="rect" name="Camel2.11.0Release-NewExamples"></a>New <a
shape="rect" href="examples.html" title="Examples">Examples</a></h3>
 
-<ul><li><a shape="rect" href="activemq-camel-tomcat.html" title="ActiveMQ
Camel Tomcat">ActiveMQ Camel Tomcat</a> example shows how to embed Apache ActiveMQ
and Camel in a web application running on Apache Tomcat.</li><li><a shape="rect"
href="hibernate-example.html" title="Hibernate Example">Hibernate Example</a> shows
how to work with <a shape="rect" href="hibernate.html" title="Hibernate">Hibernate</a>
to exchange data using a shared database table.</li><li><a shape="rect" href="servlet-tomcat-no-spring-example.html"
title="Servlet Tomcat No Spring Example">Servlet Tomcat No Spring Example</a> example
shows how to run Camel as a web application in any web container such as Apache Tomcat, without
the need for Spring Framework.</li><li><a shape="rect" href="sql-example.html"
title="SQL Example">SQL Example</a> shows how to work with <a shape="rect" href="sql-component.html"
title="SQL Component">SQL</a> to exchange data using a shared database table.</li></ul>
+<ul><li><a shape="rect" href="activemq-camel-tomcat.html" title="ActiveMQ
Camel Tomcat">ActiveMQ Camel Tomcat</a> example shows how to embed Apache ActiveMQ
and Camel in a web application running on Apache Tomcat.</li><li><a shape="rect"
href="ftp-example.html" title="FTP Example">FTP Example</a> shows how to use Camel
to upload or download files to/from an existing FTP server.</li><li><a shape="rect"
href="hibernate-example.html" title="Hibernate Example">Hibernate Example</a> shows
how to work with <a shape="rect" href="hibernate.html" title="Hibernate">Hibernate</a>
to exchange data using a shared database table.</li><li><a shape="rect" href="servlet-tomcat-no-spring-example.html"
title="Servlet Tomcat No Spring Example">Servlet Tomcat No Spring Example</a> example
shows how to run Camel as a web application in any web container such as Apache Tomcat, without
the need for Spring Framework.</li><li><a shape="rect" href="sql-example.html"
title="SQL Example">SQL Example</a>
  shows how to work with <a shape="rect" href="sql-component.html" title="SQL Component">SQL</a>
to exchange data using a shared database table.</li></ul>
 
 
 <h3><a shape="rect" name="Camel2.11.0Release-NewTutorials"></a>New <a
shape="rect" href="tutorials.html" title="Tutorials">Tutorials</a></h3>

Modified: websites/production/camel/content/examples.html
==============================================================================
--- websites/production/camel/content/examples.html (original)
+++ websites/production/camel/content/examples.html Wed Mar 20 13:18:33 2013
@@ -91,7 +91,7 @@
 
 <h3><a shape="rect" name="Examples-Examples"></a>Examples</h3>
 
-<ul><li><a shape="rect" href="activemq-camel-tomcat.html" title="ActiveMQ
Camel Tomcat">ActiveMQ Camel Tomcat</a> example shows how to embed Apache ActiveMQ
and Camel in a web application running on Apache Tomcat.</li><li><a shape="rect"
href="aggregate-example.html" title="Aggregate Example">Aggregate Example</a> shows
the overhauled <a shape="rect" href="aggregator2.html" title="Aggregator2">Aggregator</a>
EIP with persistent storage, which are part of Camel 2.3.</li><li><a shape="rect"
href="bam-example.html" title="BAM Example">BAM Example</a> shows how to use Camel
as a <a shape="rect" href="bam.html" title="BAM">BAM (Business Activity Monitoring)</a>
framework, to monitor your business transactions.</li><li><a shape="rect" href="cafe-example.html"
title="Cafe Example">Cafe Example</a> shows how to use Camel to implement a Cafe
shop use case.</li><li><a shape="rect" href="console-example.html" title="Console
Example">Console Example</a> shows how to get stared with Came
 l using to read input from the console.</li><li><a shape="rect" href="cxf-example.html"
title="CXF Example">CXF Example</a> shows how to use Camel as the CXF services router,
which consumes the request of a CXF client then passes the request to a CXF-based web service.</li><li><a
shape="rect" href="cxf-example-osgi-blueprint.html" title="CXF Example OSGi Blueprint">CXF
Example OSGi Blueprint</a> shows how to use the camel-cxf consumer component in an OSGI
environment using OSGi Blueprint with the OSGI HTTP service.</li><li><a shape="rect"
href="cxf-example-osgi.html" title="CXF Example OSGi">CXF Example OSGi</a> shows
how to use the camel-cxf consumer component in an OSGI environment using Spring-DM with the
OSGI HTTP service.</li><li><a shape="rect" href="cxf-proxy-example.html" title="CXF
Proxy Example">CXF Proxy Example</a> shows how to use Camel to proxy a web service
using <a shape="rect" href="cxf.html" title="CXF">CXF</a>.</li><li><a
shape="rect" href="cxf-tomcat-exam
 ple.html" title="CXF Tomcat Example">CXF Tomcat Example</a> shows how to use Camel
to expose a code-first web service using <a shape="rect" href="cxf.html" title="CXF">CXF</a>
as a web application to be deployed in Apache Tomcat.</li><li><a shape="rect"
href="etl-example.html" title="ETL Example">ETL Example</a> shows how to use Camel
as an <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/Extract,_transform,_load"
rel="nofollow">Extract Transform Load (ETL)</a> tool</li><li><a shape="rect"
href="guice-jms-example.html" title="Guice JMS Example">Guice JMS Example</a> shows
how to use <a shape="rect" href="guice.html" title="Guice">Guice</a> as the Dependency
Injection framework to create some <a shape="rect" href="jms.html" title="JMS">JMS</a>
base routes using just Java code and a properties file</li><li><a shape="rect"
href="hibernate-example.html" title="Hibernate Example">Hibernate Example</a> shows
how to work with <a shape="rect" href="hibernate.
 html" title="Hibernate">Hibernate</a> to exchange data using a shared database table.</li><li><a
shape="rect" href="jmx-component-example.html" title="JMX Component Example">JMX Component
Example</a> shows how to use the camel-jmx component.</li><li><a shape="rect"
href="loadbalancing-mina-example.html" title="LoadBalancing Mina Example">LoadBalancing
Mina Example</a> shows how to use the <a shape="rect" href="load-balancer.html" title="Load
Balancer">Load Balancer</a> EIP to balance communication with remote servers using
<a shape="rect" href="mina.html" title="MINA">MINA</a>.</li><li><a
shape="rect" href="loan-broker-example.html" title="Loan Broker Example">Loan Broker Example</a>
shows how to use Camel to implement the classical <a shape="rect" class="external-link"
href="http://http://www.enterpriseintegrationpatterns.com/ComposedMessagingExample.html" rel="nofollow">EIP
composed messaging sample </a>.</li><li><a shape="rect" href="management-example.html"
title="Manage
 ment Example">Management Example</a> shows how to use <a shape="rect" href="camel-jmx.html"
title="Camel JMX">JMX</a> in Camel to manage a running Camel application.</li><li><a
shape="rect" href="pojo-messaging-example.html" title="POJO Messaging Example">POJO Messaging
Example</a> shows how to use annotations to produce, consume or route messages to Camel
endpoints without using any DSL.</li><li><a shape="rect" href="route-throttling-example.html"
title="Route Throttling Example">Route Throttling Example</a> shows how to use <a
shape="rect" href="routepolicy.html" title="RoutePolicy">RoutePolicy</a> and <a
shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> in Camel to dynamically
throttle routes.</li><li><a shape="rect" href="servlet-tomcat-example.html"
title="Servlet Tomcat Example">Servlet Tomcat Example</a> shows how to use Camel
to route messages using servlets running in any web container such as Apache Tomcat.</li><li><a
shape="rect" href="servlet-tomcat-no
 -spring-example.html" title="Servlet Tomcat No Spring Example">Servlet Tomcat No Spring
Example</a> shows how to use Camel to route messages using servlets running any web
container such as Apache Tomcat without using the Spring Framework.</li><li><a
shape="rect" href="simple-jira-bot.html" title="Simple Jira Bot">Simple Jira Bot</a>
shows how to use the camel-rss feed to send updates to an irc channel using camel-irc.</li><li><a
shape="rect" href="spring-example.html" title="Spring Example">Spring Example</a>
shows how to work with the Spring example using a Spring ApplicationContext to configure Camel
with <a shape="rect" href="dsl.html" title="DSL">Java routing rules</a></li><li><a
shape="rect" href="spring-java-config-example.html" title="Spring Java Config Example">Spring
Java Config Example</a> shows how to use the <a shape="rect" class="external-link"
href="http://www.springsource.org/javaconfig" rel="nofollow">Spring java config</a>
to configure the Camel with <a sha
 pe="rect" href="dsl.html" title="DSL">Java routing rules</a></li><li><a
shape="rect" href="spring-security-example.html" title="Spring Security Example">Spring
Security Example</a> shows how to implement a basic http authentication and role based
authorization within a camel route by leverage the <a shape="rect" href="spring-security.html"
title="Spring Security">camel-spring-security component</a>.</li><li><a
shape="rect" href="spring-ws-example.html" title="Spring WS Example">Spring Web Services
Example</a> shows how to expose a SOAP-based web service using Camel and Spring Web
Services.</li><li><a shape="rect" href="spring-xquery-example.html" title="Spring
XQuery Example">Spring XQuery Example</a> shows how to work with the Spring example
using a Spring ApplicationContext to configure Camel</li><li><a shape="rect"
href="sql-example.html" title="SQL Example">SQL Example</a> shows how to work with
<a shape="rect" href="sql-component.html" title="SQL Component">SQL</a> to e
 xchange data using a shared database table.</li><li><a shape="rect" href="tracer-example.html"
title="Tracer Example">Tracer Example</a> shows how to use <a shape="rect" href="tracer.html"
title="Tracer">Tracer</a> in Camel to trace how <a shape="rect" href="exchange.html"
title="Exchange">Exchange</a> is routed.</li><li><a shape="rect" href="twitter-websocket-example.html"
title="Twitter Websocket Example">Twitter Websocket Example</a> demonstrates how
to poll a constant feed of twitter searches and publish results in real time using web socket
to a web page.</li></ul>
+<ul><li><a shape="rect" href="activemq-camel-tomcat.html" title="ActiveMQ
Camel Tomcat">ActiveMQ Camel Tomcat</a> example shows how to embed Apache ActiveMQ
and Camel in a web application running on Apache Tomcat.</li><li><a shape="rect"
href="aggregate-example.html" title="Aggregate Example">Aggregate Example</a> shows
the overhauled <a shape="rect" href="aggregator2.html" title="Aggregator2">Aggregator</a>
EIP with persistent storage, which are part of Camel 2.3.</li><li><a shape="rect"
href="bam-example.html" title="BAM Example">BAM Example</a> shows how to use Camel
as a <a shape="rect" href="bam.html" title="BAM">BAM (Business Activity Monitoring)</a>
framework, to monitor your business transactions.</li><li><a shape="rect" href="cafe-example.html"
title="Cafe Example">Cafe Example</a> shows how to use Camel to implement a Cafe
shop use case.</li><li><a shape="rect" href="console-example.html" title="Console
Example">Console Example</a> shows how to get stared with Came
 l using to read input from the console.</li><li><a shape="rect" href="cxf-example.html"
title="CXF Example">CXF Example</a> shows how to use Camel as the CXF services router,
which consumes the request of a CXF client then passes the request to a CXF-based web service.</li><li><a
shape="rect" href="cxf-example-osgi-blueprint.html" title="CXF Example OSGi Blueprint">CXF
Example OSGi Blueprint</a> shows how to use the camel-cxf consumer component in an OSGI
environment using OSGi Blueprint with the OSGI HTTP service.</li><li><a shape="rect"
href="cxf-example-osgi.html" title="CXF Example OSGi">CXF Example OSGi</a> shows
how to use the camel-cxf consumer component in an OSGI environment using Spring-DM with the
OSGI HTTP service.</li><li><a shape="rect" href="cxf-proxy-example.html" title="CXF
Proxy Example">CXF Proxy Example</a> shows how to use Camel to proxy a web service
using <a shape="rect" href="cxf.html" title="CXF">CXF</a>.</li><li><a
shape="rect" href="cxf-tomcat-exam
 ple.html" title="CXF Tomcat Example">CXF Tomcat Example</a> shows how to use Camel
to expose a code-first web service using <a shape="rect" href="cxf.html" title="CXF">CXF</a>
as a web application to be deployed in Apache Tomcat.</li><li><a shape="rect"
href="etl-example.html" title="ETL Example">ETL Example</a> shows how to use Camel
as an <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/Extract,_transform,_load"
rel="nofollow">Extract Transform Load (ETL)</a> tool</li><li><a shape="rect"
href="ftp-example.html" title="FTP Example">FTP Example</a> shows how to use Camel
to upload or download files to/from an existing FTP server.</li><li><a shape="rect"
href="guice-jms-example.html" title="Guice JMS Example">Guice JMS Example</a> shows
how to use <a shape="rect" href="guice.html" title="Guice">Guice</a> as the Dependency
Injection framework to create some <a shape="rect" href="jms.html" title="JMS">JMS</a>
base routes using just Java code and a proper
 ties file</li><li><a shape="rect" href="hibernate-example.html" title="Hibernate
Example">Hibernate Example</a> shows how to work with <a shape="rect" href="hibernate.html"
title="Hibernate">Hibernate</a> to exchange data using a shared database table.</li><li><a
shape="rect" href="jmx-component-example.html" title="JMX Component Example">JMX Component
Example</a> shows how to use the camel-jmx component.</li><li><a shape="rect"
href="loadbalancing-mina-example.html" title="LoadBalancing Mina Example">LoadBalancing
Mina Example</a> shows how to use the <a shape="rect" href="load-balancer.html" title="Load
Balancer">Load Balancer</a> EIP to balance communication with remote servers using
<a shape="rect" href="mina.html" title="MINA">MINA</a>.</li><li><a
shape="rect" href="loan-broker-example.html" title="Loan Broker Example">Loan Broker Example</a>
shows how to use Camel to implement the classical <a shape="rect" class="external-link"
href="http://http://www.enterpriseintegra
 tionpatterns.com/ComposedMessagingExample.html" rel="nofollow">EIP composed messaging
sample </a>.</li><li><a shape="rect" href="management-example.html" title="Management
Example">Management Example</a> shows how to use <a shape="rect" href="camel-jmx.html"
title="Camel JMX">JMX</a> in Camel to manage a running Camel application.</li><li><a
shape="rect" href="pojo-messaging-example.html" title="POJO Messaging Example">POJO Messaging
Example</a> shows how to use annotations to produce, consume or route messages to Camel
endpoints without using any DSL.</li><li><a shape="rect" href="route-throttling-example.html"
title="Route Throttling Example">Route Throttling Example</a> shows how to use <a
shape="rect" href="routepolicy.html" title="RoutePolicy">RoutePolicy</a> and <a
shape="rect" href="camel-jmx.html" title="Camel JMX">JMX</a> in Camel to dynamically
throttle routes.</li><li><a shape="rect" href="servlet-tomcat-example.html"
title="Servlet Tomcat Example">Servlet Tomcat 
 Example</a> shows how to use Camel to route messages using servlets running in any
web container such as Apache Tomcat.</li><li><a shape="rect" href="servlet-tomcat-no-spring-example.html"
title="Servlet Tomcat No Spring Example">Servlet Tomcat No Spring Example</a> shows
how to use Camel to route messages using servlets running any web container such as Apache
Tomcat without using the Spring Framework.</li><li><a shape="rect" href="simple-jira-bot.html"
title="Simple Jira Bot">Simple Jira Bot</a> shows how to use the camel-rss feed to
send updates to an irc channel using camel-irc.</li><li><a shape="rect" href="spring-example.html"
title="Spring Example">Spring Example</a> shows how to work with the Spring example
using a Spring ApplicationContext to configure Camel with <a shape="rect" href="dsl.html"
title="DSL">Java routing rules</a></li><li><a shape="rect" href="spring-java-config-example.html"
title="Spring Java Config Example">Spring Java Config Example</a> shows how 
 to use the <a shape="rect" class="external-link" href="http://www.springsource.org/javaconfig"
rel="nofollow">Spring java config</a> to configure the Camel with <a shape="rect"
href="dsl.html" title="DSL">Java routing rules</a></li><li><a shape="rect"
href="spring-security-example.html" title="Spring Security Example">Spring Security Example</a>
shows how to implement a basic http authentication and role based authorization within a camel
route by leverage the <a shape="rect" href="spring-security.html" title="Spring Security">camel-spring-security
component</a>.</li><li><a shape="rect" href="spring-ws-example.html"
title="Spring WS Example">Spring Web Services Example</a> shows how to expose a SOAP-based
web service using Camel and Spring Web Services.</li><li><a shape="rect" href="spring-xquery-example.html"
title="Spring XQuery Example">Spring XQuery Example</a> shows how to work with the
Spring example using a Spring ApplicationContext to configure Camel</li><li><a
shape
 ="rect" href="sql-example.html" title="SQL Example">SQL Example</a> shows how to
work with <a shape="rect" href="sql-component.html" title="SQL Component">SQL</a>
to exchange data using a shared database table.</li><li><a shape="rect" href="tracer-example.html"
title="Tracer Example">Tracer Example</a> shows how to use <a shape="rect" href="tracer.html"
title="Tracer">Tracer</a> in Camel to trace how <a shape="rect" href="exchange.html"
title="Exchange">Exchange</a> is routed.</li><li><a shape="rect" href="twitter-websocket-example.html"
title="Twitter Websocket Example">Twitter Websocket Example</a> demonstrates how
to poll a constant feed of twitter searches and publish results in real time using web socket
to a web page.</li></ul>
 
 
 <div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>More
examples</b><br clear="none">See also <a shape="rect" href="tutorials.html"
title="Tutorials">Tutorials</a> for more examples, as well as <a shape="rect"
href="cookbook.html" title="Cookbook">Cookbook</a>.</td></tr></table></div>

Added: websites/production/camel/content/ftp-example.html
==============================================================================
--- websites/production/camel/content/ftp-example.html (added)
+++ websites/production/camel/content/ftp-example.html Wed Mar 20 13:18:33 2013
@@ -0,0 +1,227 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<html>
+<head>
+    <link href="http://camel.apache.org/styles/site.css" rel="stylesheet" type="text/css">
+    <link href="http://camel.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css">
+    <script src="http://camel.apache.org/styles/prototype.js" type="text/javascript"></script>
+    <script src="http://camel.apache.org/styles/rico.js" type="text/javascript"></script>
   
+    <script src="http://camel.apache.org/styles/site.js" type="text/javascript"></script>
+
+    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
+
+    <style type="text/css">
+      .maincontent { overflow:hidden; }
+    </style>
+    <!--[if IE]>
+    <style type="text/css">
+      .maincontent { width:100%; }
+    </style>
+    <![endif]-->
+
+    <title>
+    Apache Camel: FTP Example
+    </title>
+</head>
+<body>
+<div class="white_box">
+<div class="header">
+  <div class="header_l">
+    <div class="header_r">
+    </div>
+  </div>
+</div>
+<div class="content">
+  <div class="content_l">
+    <div class="content_r">
+      <div>
+          <!-- Banner -->
+<div id="banner-content">
+	<div id="asf_logo">
+	<div id="activemq_logo" style="height:108px; background:transparent url(banner.data/apache-camel-7.png)
no-repeat scroll left top;">
+            <a shape="rect" style="float:left; width:310px;display:block;text-indent:-5000px;text-decoration:none;line-height:140px;
margin-top:20px; margin-left:18px;" href="http://camel.apache.org/">Camel</a>
+            <a shape="rect" style="float:right; width:180px;display:block;text-indent:-5000px;text-decoration:none;line-height:80px;
margin-top:45px; margin-right:10px;" href="http://www.apache.org">Apache</a>
+	</div>
+        </div>
+</div>
+          <!-- Banner -->
+        <div class="top_red_bar">
+          <div id="site-breadcrumbs">
+                <!-- Breadcrumbs -->
+<a href="index.html">Apache Camel</a>&nbsp;&gt;&nbsp;<a href="documentation.html">Documentation</a>&nbsp;&gt;&nbsp;<a
href="user-guide.html">User Guide</a>&nbsp;&gt;&nbsp;<a href="examples.html">Examples</a>&nbsp;&gt;&nbsp;<a
href="ftp-example.html">FTP Example</a>
+          </div>
+          <!-- Quicklinks -->
+<div id="site-quicklinks"><p><a shape="rect" href="download.html" title="Download">Download</a>
| <a shape="rect" href="javadoc.html" title="JavaDoc">JavaDoc</a> | <a shape="rect"
href="source.html" title="Source">Source</a> | <a shape="rect" href="discussion-forums.html"
title="Discussion Forums">Forums</a> | <a shape="rect" href="support.html" title="Support">Support</a></p></div>
+          <!-- Quicklinks -->
+        </div>
+
+	<table border="0">
+	<tbody>
+        <tr>
+        <td valign="top" width="100%">
+<div class="wiki-content maincontent"><h2><a shape="rect" name="FTPExample-FTPExample"></a>FTP
Example</h2>
+<p><b>Available as of Camel 2.11</b></p>
+
+<p>This example is located in the <tt>examples/camel-example-ftp</tt> directory
of the Camel distribution.<br clear="none">
+There is a <tt>README.txt</tt> file with instructions how to run it.</p>
+
+<h3><a shape="rect" name="FTPExample-About"></a>About</h3>
+
+<p>This example demonstrates how Camel can upload and download files to/from an existing
FTP server.</p>
+
+<h3><a shape="rect" name="FTPExample-Prerequisites"></a>Prerequisites</h3>
+
+<p>An existing FTP server should be running.</p>
+
+<h3><a shape="rect" name="FTPExample-Implementation"></a>Implementation</h3>
+
+<p>This example is implemented in Java code, and there is a client and a server application.
</p>
+
+<p>The client is used for uploading files from the local file system (from target/upload)
to the FTP server.<br clear="none">
+The server is used for downloading files from the FTP server to the local file system (to
target/download).</p>
+
+<p>You can see the Java implementation by opening the <tt>src/main/java/org/apache/camel/example/ftp/MyFtpClientRouteBuilder.java</tt>
for the client Java route.<br clear="none">
+And the server example is implemented in the  <tt>src/main/java/org/apache/camel/example/ftp/MyFtpClientRouteBuilder.java</tt>
file.</p>
+
+<h3><a shape="rect" name="FTPExample-Runningtheexample"></a>Running the
example</h3>
+
+<p>You would need to configure the location and credential for the FTP server. This
is done by editing the <tt>src/main/resources/ftp.properties</tt> file.<br
clear="none">
+Byt default it connects to a non existing domain name, which you therefore <b>must</b>
change.</p>
+
+<p>Then you can either run the example as client or server by running from command
line with Maven</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+mvn compile exec:java -Pclient
+</pre>
+</div></div>
+
+<p>Or for the server</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+mvn compile exec:java -Pserver
+</pre>
+</div></div>
+
+<p>Instructions is also printed to the console. And you can use ctrl + c to stop the
Camel application.</p>
+
+<div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">If
you encounter any problems you can enable verbose logging by following the instructions in
the <tt>src/main/resources/log4j.properties</tt> file.</td></tr></table></div>
+
+<h3><a shape="rect" name="FTPExample-SeeAlso"></a>See Also</h3>
+<ul class="alternate" type="square"><li><a shape="rect" href="examples.html"
title="Examples">Examples</a></li><li><a shape="rect" href="ftp2.html"
title="FTP2">FTP</a></li></ul>
+</div>
+        </td>
+        <td valign="top">
+          <div class="navigation">
+            <div class="navigation_top">
+                <!-- NavigationBar -->
+<div class="navigation_bottom" id="navigation_bottom"><h3><a shape="rect"
name="Navigation-Overview"></a><a shape="rect" href="overview.html" title="Overview">Overview</a></h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" href="index.html"
title="Index">Home</a></li><li><a shape="rect" href="download.html"
title="Download">Download</a></li><li><a shape="rect" href="getting-started.html"
title="Getting Started">Getting Started</a></li><li><a shape="rect"
href="faq.html" title="FAQ">FAQ</a></li></ul>
+
+
+<h3><a shape="rect" name="Navigation-Documentation"></a><a shape="rect"
href="documentation.html" title="Documentation">Documentation</a></h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" href="user-guide.html"
title="User Guide">User Guide</a></li><li><a shape="rect" href="manual.html"
title="Manual">Manual</a></li><li><a shape="rect" href="books.html"
title="Books">Books</a></li><li><a shape="rect" href="tutorials.html"
title="Tutorials">Tutorials</a></li><li><a shape="rect" href="examples.html"
title="Examples">Examples</a></li><li><a shape="rect" href="cookbook.html"
title="Cookbook">Cookbook</a></li><li><a shape="rect" href="architecture.html"
title="Architecture">Architecture</a></li><li><a shape="rect" href="enterprise-integration-patterns.html"
title="Enterprise Integration Patterns">Enterprise Integration Patterns</a></li><li><a
shape="rect" href="dsl.html" title="DSL">DSL</a></li><li><a shape="rect"
href="components.html" title="Components">Components</a></li><li><a
shape="rect" href="data-format.html" title="Data Format">Data Format</a></li><li><a
shape="rect" href="languages.html" title="Lang
 uages">Languages</a></li><li><a shape="rect" href="security.html"
title="Security">Security</a></li></ul>
+
+
+<h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
+
+
+<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+  <div>
+    <input type="hidden" name="cx" value="007878419884033443453:m5nhvy4hmyq">
+    <input type="hidden" name="ie" value="UTF-8">
+    <input type="text" name="q" size="21">
+    <input type="submit" name="sa" value="Search">
+  </div>
+</form>
+<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
+
+
+<h3><a shape="rect" name="Navigation-Community"></a><a shape="rect"
href="community.html" title="Community">Community</a></h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" href="support.html"
title="Support">Support</a></li><li><a shape="rect" href="contributing.html"
title="Contributing">Contributing</a></li><li><a shape="rect" href="discussion-forums.html"
title="Discussion Forums">Discussion Forums</a></li><li><a shape="rect"
href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li><li><a
shape="rect" href="user-stories.html" title="User Stories">User Stories</a></li><li><a
shape="rect" href="news.html" title="News">News</a></li><li><a shape="rect"
href="articles.html" title="Articles">Articles</a></li><li><a shape="rect"
href="site.html" title="Site">Site</a></li><li><a shape="rect" href="team.html"
title="Team">Team</a></li><li><a shape="rect" class="external-link"
href="http://camel-extra.googlecode.com/" rel="nofollow">Camel Extra</a></li></ul>
+
+
+<h3><a shape="rect" name="Navigation-Developers"></a><a shape="rect"
href="developers.html" title="Developers">Developers</a></h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" href="developers.html"
title="Developers">Developer Guide</a></li><li><a shape="rect" href="source.html"
title="Source">Source</a></li><li><a shape="rect" href="building.html"
title="Building">Building</a></li><li><a shape="rect" href="javadoc.html"
title="JavaDoc">JavaDoc</a></li><li><a shape="rect" href="irc-room.html"
title="IRC Room">IRC Room</a></li></ul>
+
+
+<h3><a shape="rect" name="Navigation-ApacheSoftwareFoundation"></a>Apache
Software Foundation</h3>
+
+<ul class="alternate" type="square"><li><a shape="rect" class="external-link"
href="http://www.apache.org/licenses/">License</a></li><li><a shape="rect"
class="external-link" href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li><li><a
shape="rect" class="external-link" href="http://www.apache.org/foundation/thanks.html">Thanks</a></li><li><a
shape="rect" class="external-link" href="http://www.apache.org/security/">Security</a></li></ul>
+</div>
+                <!-- NavigationBar -->
+            </div>
+          </div>
+        </td>
+        </tr>
+	</tbody>
+        </table>
+
+
+        <div class="bottom_red_bar"></div>
+      </div>
+    </div>
+  </div>
+</div>
+<div class="black_box">
+<div class="footer">
+  <div class="footer_l">
+    <div class="footer_r">
+      <div>
+        <a href="$base/privacy-policy.html">Privacy Policy</a> -
+        (<a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=30758576">edit
page</a>)
+   	 (<a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=30758576&amp;showComments=true&amp;showCommentArea=true#addcomment">add
comment</a>)
+      </div>
+    </div>
+  </div>
+</div>
+</div>
+</div>
+<div class="design_attribution">
+&copy; 2004-2011 The Apache Software Foundation.
+<br>          
+Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel project logo are
trademarks of The Apache Software Foundation.  All other marks mentioned may be trademarks
or registered trademarks of their respective owners.
+<br>
+<a href="http://hiramchirino.com">Graphic Design By Hiram</a>
+</div>
+
+<!-- Camel committers that would like access to the Analytics, send a note to private@camel.apache.org
-->
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-25976253-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+</script>
+
+</body>
+</html>
+
+



Mime
View raw message