On Fri, May 28, 2010 at 4:33 PM, Srini97 <[email protected]> wrote: > > I am using Camel2.3 and I tried to use soTimeout as well. But it throuing > Null pointer exception saying it is unable create producer. >
Can you post the endpoint configuration and the stacktrace which causes this NPE. And how do you run Camel? > > > > > > Claus Ibsen-2 wrote: >> >> Hi >> >> Have you tried with ftpClient.soTimeout also? >> >> And what version of Camel are you using? >> >> >> On Thu, May 27, 2010 at 2:06 PM, Srini97 <[email protected]> >> wrote: >>> >>> Hello, >>> >>> >>> I am using the following URI for the delivery to FTp end point. >>> >>> ftp://[email protected]/?fileName=srml-4-2009-squads.xml&password=C3te4aVNY8fWNnGr&ftpClie >>> t.dataTimeout=15000&ftpClient.defaultTimeout=15000&ftpClient.connectTimeout=120000&tempFileName=%24%7Bfile%3Aname.noext%7D.tmp&eagerDelet >>> TargetFile=false >>> >>> first thing is It is not dleivering it to the endpoint. >>> >>> even though I used ftpClient.connectTimeout=120000 it is not >>> disconnecting, >>> more over it is waiting the for almost 20 min which is very costly for >>> me. >>> >>> Any idea why this is happening. Thanks for the hep. >>> >>> Regards >>> Sri >>> >>> >>> >>> -- >>> View this message in context: >>> http://old.nabble.com/Camel-FTP-is-not-responding-and-returning-code-0-as-connectiontime-out-tp28693025p28693025.html >>> Sent from the Camel - Users mailing list archive at Nabble.com. >>> >>> >> >> >> >> -- >> 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 >> >> > > -- > View this message in context: > http://old.nabble.com/Camel-FTP-is-not-responding-and-returning-code-0-as-connectiontime-out-tp28693025p28707675.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- 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
