Hi Adding connection pooling is a bit hard as endpoints can have different login and other settings that would affect whether a connection can be reused by others or not. Especially for more general use-cases. However when you have a single FTP server as target and you may only use a few different options, then you may be able to implement such a pooling under those limitations.
You may consider just reimplementing the sftp operations interface and only keep the logic you need for your use-cases. On Wed, Aug 2, 2023 at 10:29 AM MÜLLER Christian (ICS460-BAI) <christian.muel...@spar-ics.com.invalid> wrote: > Hi Claus, > > ah sorry for that! > But we do not find your response? > > Could you please copy/paste the response again > Regards Christian > > > > > > Am 02.08.23, 08:47 schrieb "Claus Ibsen" <claus.ib...@gmail.com <mailto: > claus.ib...@gmail.com>>: > > > Hi > > > I already replied to your first email > > > On Wed, Aug 2, 2023 at 7:42 AM MÜLLER Christian (ICS460-BAI) > <christian.muel...@spar-ics.com.inva <mailto: > christian.muel...@spar-ics.com.inva>lid> wrote: > > > > Hi, > > > > can somebody support us here please? > > > > We tried without pooling the connections and just using disconnect! > > However with hundreds of flows these constant reconnects are too much for > > the servers > > > > > > > > Any idea what we can do here? > > > > Thanks Christian > > > > > > > > [image: signature_3350928388] <https://www.spar-ics.com/> < > https://www.spar-ics.com/>> > > > > > > *Dipl.-Ing. Christian* *Müller* > > Software Engineer > > ICS460-BAI > > > > [image: signature_3782493600] > > > > > > > > > > > > Am 31.07.23, 09:56 schrieb "MÜLLER Christian (ICS460-BAI)" < > > christian.muel...@spar-ics.com.inva <mailto: > christian.muel...@spar-ics.com.inva>LID>: > > > > > > > > Hello, > > > > due to the fact that we have many transports on a single server we need > > the ability to pool/reuse ftp connections. > > Otherwise, we have to many reconnects or to many open connections! > > > > Do you have any recommendations how we can realize such a connection > pool. > > We are currently trying to pool the entire SftpOperations Object. > > This does not work because the SftpOperations Object includes the > > SftpEndpoint which cannot be reused in different routes! > > > > Please support us here. We really would like to achieve this with camel! > > > > Keep up the great work! > > Regards Christian > > > > > > > > [image: signature_449552271] <https://www.spar-ics.com/> < > https://www.spar-ics.com/>> > > > > > > *Dipl.-Ing. Christian* *Müller* > > Software Engineer > > ICS460-BAI > > > > [image: signature_707443505] > > > > > > > > > > > > <https://www.spar-ics.com/> <https://www.spar-ics.com/>> > > > > > > *DI Christian* *Müller* > > Software Engineer > > Business Automation & Integration > > > > *Mobile:* > > > > +43 664 88748100 > > > > *E-Mail:* > > > > christian.muel...@spar-ics.com <mailto:christian.muel...@spar-ics.com> > > > > > > > > *SPAR Business Services GmbH* > > Information & Communication Services > > Europastrasse 3, 5015 Salzburg, Austria > > > > > > > > > > Sollten Sie diese E-Mail unbeabsichtigt bzw. irrtümlich erhalten haben, > so > > weisen wir Sie darauf hin, dass gemäß § 161 Abs 4 TKG 2021 der Inhalt > sowie > > die Tatsache des Empfangs dieser E-Mail weder aufgezeichnet noch > verwertet > > oder Unbefugten mitgeteilt werden dürfen. Wir ersuchen Sie, die Nachricht > > von Ihrem System zu löschen und sich mit uns in Verbindung zu setzen. > > Unter diesem Link finden Sie die Informationen über die Verarbeitung > Ihrer > > personenbezogenen Daten sowie zu Ihren Rechten als betroffene Person: > > https://www.spar.at/service/datenschutzhinweise < > https://www.spar.at/service/datenschutzhinweise> > > > > If you have received this email accidentally or in error, we point out > > that, in accordance with § 161 para. 4 TKG 2021 (Telecommunications Act), > > the contents of this email and the fact of its receipt must not be > > recorded, exploited or communicated to unauthorized persons. We ask you > to > > delete the message from your system and to contact us. > > Under this link you will find information about the processing of your > > personal data and about your rights as a data subject > > https://www.spar.at/service/datenschutzhinweise < > https://www.spar.at/service/datenschutzhinweise> > > > > > > > > > > > -- > Claus Ibsen > ----------------- > @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 < > https://www.manning.com/ibsen2> > > > > > Sollten Sie diese E-Mail unbeabsichtigt bzw. irrtümlich erhalten haben, so > weisen wir Sie darauf hin, dass gemäß § 161 Abs 4 TKG 2021 der Inhalt sowie > die Tatsache des Empfangs dieser E-Mail weder aufgezeichnet noch verwertet > oder Unbefugten mitgeteilt werden dürfen. Wir ersuchen Sie, die Nachricht > von Ihrem System zu löschen und sich mit uns in Verbindung zu setzen. > Unter diesem Link finden Sie die Informationen über die Verarbeitung Ihrer > personenbezogenen Daten sowie zu Ihren Rechten als betroffene Person: > https://www.spar.at/service/datenschutzhinweise > > If you have received this email accidentally or in error, we point out > that, in accordance with § 161 para. 4 TKG 2021 (Telecommunications Act), > the contents of this email and the fact of its receipt must not be > recorded, exploited or communicated to unauthorized persons. We ask you to > delete the message from your system and to contact us. > Under this link you will find information about the processing of your > personal data and about your rights as a data subject: > https://www.spar.at/service/datenschutzhinweise > > -- Claus Ibsen ----------------- @davsclaus Camel in Action 2: https://www.manning.com/ibsen2