On Fri, May 14, 2010 at 1:57 PM, Srini97 <sri.tec...@googlemail.com> wrote: > > My requirement is to share the connection for the same domain , username and > password. > For other username for the same domain we can have different connection , > thats not an issue
Well the Apache Commons FTP library cannot handle concurrency on the same Session. > > > > > Claus Ibsen-2 wrote: >> >> On Fri, May 14, 2010 at 12:09 PM, Srini97 <sri.tec...@googlemail.com> >> wrote: >>> >>> Hello All, >>> >>> I have got a problem with FTP connections, as it is creating a connection >>> for every URI even it is for the same domain. so it is ending up using >>> all >>> the connections at some point of time even though it is for same doman! >>> >>> In our case , we may need to send the no of files to the same domain with >>> diferrent user name and password but other parameters may vary. is there >>> any way that we can make sure that the component should open a single >>> connection based on domain, username, password. >> >> I really doubt you can share a connection between different usernames >> (eg a connection is private to a given user). >> >> >>> >>> Many thanks for the suggestions. >>> >>> Regards >>> Sri >>> -- >>> View this message in context: >>> http://old.nabble.com/FTP-creating-connection-based-on-domain%2C-username%2C-password-tp28557488p28557488.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/FTP-creating-connection-based-on-domain%2C-username%2C-password-tp28557459p28558479.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