Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 26959 invoked from network); 6 Jul 2010 09:29:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Jul 2010 09:29:29 -0000 Received: (qmail 50565 invoked by uid 500); 6 Jul 2010 09:29:28 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 50408 invoked by uid 500); 6 Jul 2010 09:29:26 -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 50399 invoked by uid 99); 6 Jul 2010 09:29:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jul 2010 09:29:25 +0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.161.45 as permitted sender) Received: from [209.85.161.45] (HELO mail-fx0-f45.google.com) (209.85.161.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jul 2010 09:29:19 +0000 Received: by fxm5 with SMTP id 5so466319fxm.32 for ; Tue, 06 Jul 2010 02:27:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=WsPT+wAilrM7U+lJP52JuSa60QeM5w/ihIggVwXLNdA=; b=YrhUbMovdN7exHx0fAcDiQfSi+vsUvnEnBQtVGPpuOyRecafYKkNMwrGRryix/HXVX cFYz7lKuJZAxNO7rGrG6oGDqxEHs+ltGNXRufpcydM0TGn/lU3pteoPDv4Z+kgBtdWdm 0zKeTS1KARI/RP0wgRWftPaJR+wv5r67vt17I= 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=Pmghs5FQ7bDUceCzc9KIrI1H4RWHPCCXNCuxAuV5jyzRwwyKFoRZn+eM0myZMLXIn3 K6lNuSk7jJP2B39uI9I3ST67WG7JgcMlmYcsuwc6n31wBHiVD4jZEz0TZn3LY4Yc26NF T9QbfXpAy6JtbmuCU0k9cKA8SNr4oRJygtJOQ= Received: by 10.223.119.135 with SMTP id z7mr3777058faq.29.1278408074206; Tue, 06 Jul 2010 02:21:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.103.209 with HTTP; Tue, 6 Jul 2010 02:20:54 -0700 (PDT) In-Reply-To: <1278407132394-853217.post@n5.nabble.com> References: <1278336420767-696546.post@n5.nabble.com> <1278407132394-853217.post@n5.nabble.com> From: Claus Ibsen Date: Tue, 6 Jul 2010 11:20:54 +0200 Message-ID: Subject: Re: Configuration of connection timeout when transmitting files to remote SFTP server? 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 Tue, Jul 6, 2010 at 11:05 AM, Mattias Severson wrote: > > I may have found a suitable method, how about the > http://grepcode.com/file/repo1.maven.org/maven2/com.jcraft/jsch/0.1.42/co= m/jcraft/jsch/Session.java#Session.connect%28int%29 > Session.connect(int connectTimeout) =A0method? > Great thats the connect timeout, I wonder if its in seconds or millis ? Then create a ticket in JIRA so we can add a connection timeout option and have camel-ftp configure this for you. > I also found the > http://grepcode.com/file/repo1.maven.org/maven2/com.jcraft/jsch/0.1.42/co= m/jcraft/jsch/Session.java#Session.setTimeout%28int%29 > Session.setTimeout(int timeout) =A0that may correspond to the > http://commons.apache.org/net/api/org/apache/commons/net/ftp/FTPClient.ht= ml#setDataTimeout%28int%29 > FTPClient.setDataTimeout(int dataTimeout) =A0method. > > Unfortunately, I have not found any documentation on JSCH itself, so thes= e > are my best guesses. > > /Mattias > -- > View this message in context: http://camel.465427.n5.nabble.com/Configura= tion-of-connection-timeout-when-transmitting-files-to-remote-SFTP-server-tp= 696546p853217.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --=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