The ftp consumer in Camel is single threaded. There is a information box at this page that tells that http://camel.apache.org/ftp2
On Thu, Feb 20, 2014 at 2:49 PM, Rick89 <[email protected]> wrote: > Hello Claus, > > I have created an FTP Client with Camel but the ftp server that we connect > to has a really low response time. Therefore I would like to allow the FTP > client to set up multiple connections to the same ftp server. Is there a > way to set this up within Camel? > > ftpString = "ftp://" + ftpServer + > "?username=" + ftpUsername + > "&password=" + ftpPassword + > "&delay=" + ftpDelay + > "&passiveMode=true" + > "&eagerMaxMessagesPerPoll=true" + > "&stepwise=false" + > "&reconnectDelay=0"; > > from(ftpString) > .to("file:" + toDirectory + "?tempFileName=${file:name.noext}.tmp"); > > Thanks in advance for your response. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Multiple-connections-Camel-FTP-Client-tp5747662.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
