Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 94301 invoked from network); 22 Jan 2010 05:24:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Jan 2010 05:24:45 -0000 Received: (qmail 45324 invoked by uid 500); 22 Jan 2010 05:24:45 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 45190 invoked by uid 500); 22 Jan 2010 05:24:45 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 45155 invoked by uid 99); 22 Jan 2010 05:24:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2010 05:24:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.218.221 as permitted sender) Received: from [209.85.218.221] (HELO mail-bw0-f221.google.com) (209.85.218.221) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2010 05:24:34 +0000 Received: by bwz21 with SMTP id 21so816372bwz.24 for ; Thu, 21 Jan 2010 21:24:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=CVG0WyBH+/U0L0GjxYWWFXBxKpJ+RWoz4lRqDnVbL5g=; b=YY3xh/OOJZkzQl08FzU81nrdoMe3dFWli20bQfWQ/DGoE+OGQG8kPoBc3A+4QjEX7n Rad7iMLAg9kYPKHQBw9QjGF2yNafsDUCbc6vxJTCyDn6ndpC4NpcUpiXUM8Ec+uq+Z8W 50HP03Yc1q5ncW135YS1t914qsnkFwih0DHy8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=ISKhXpi2KtH9c6wQKv98rPX1w9q7uWk5i0K+ru3avyL5GvKeXDZ+MZLFuqd/9tS5G1 96kHznHrtF86ObCnSpjVtYSOhrosWrlbdAXN+izy54CJfljqGclOTsT+uuBAGPyLbRsc eAVvRUd8JV7/CDuJLRvBCEL55vv6JtuFlwiPg= MIME-Version: 1.0 Received: by 10.204.49.82 with SMTP id u18mr1362896bkf.47.1264137853652; Thu, 21 Jan 2010 21:24:13 -0800 (PST) In-Reply-To: References: <4B589307.7080805@hillert.com> From: Claus Ibsen Date: Fri, 22 Jan 2010 06:23:53 +0100 Message-ID: <5380c69c1001212123m54b75e0cla0b6ef5e8b051ea@mail.gmail.com> Subject: Re: FTP Component - How to Disconnect? To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Jan 21, 2010 at 10:02 PM, Christian M=FCller wrote: > Hey Gunnar, > > you are right. At present, we disconnect only after a failed write/upload > from the server. Currently you have no choice to configure a session > disconnect after a write. > > @Claus: Should Gunnar open a JIRA ticket for that or won't we change this= ? > +1 to open a ticket in JIRA. > Regards, > Christian > > On Thu, Jan 21, 2010 at 6:46 PM, Gunnar Hillert wrot= e: > >> Hi, >> >> I am creating a simple flow uploading files using FTP and FTPs. >> >> Here is the process definition: >> >> I drop a file in a folder, Camel picks it up and uploads it to the serve= r. >> Everything works perfectly. >> >> My problem is that I would like to disconnect from the FTP server >> (terminate session) every time a file is uploaded. It seems though that = the >> connection to the FTP server is kept open. Thus, if I drop a new file in= to >> my monitored folder the same FTP session is reused. I would like that no= t to >> happen. >> >> How can I configure my camel process to disconnect from the FTP Server? = I >> did not find any information on this. >> >> Thanks a lot for your help! >> >> Regards >> >> Gunnar >> > --=20 Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus