Re: file2: recursive, delete, directories remain?

2015-05-06 Thread Shreyas Purohit
Camel does not delete subdirectories, delete=true deletes only files. If you want to delete subdir, then add an onComplete on route and delete on success yourself. -Shreyas Purohit On May 6, 2015 8:54 AM, Jarmo Sorvari jarmo.sorv...@tamk.fi wrote: (Camel 2.12.3) Hi! Could someone

RE: upgrading to Scala 2.11

2015-04-07 Thread shreyas
Scala 2.11 does not have native XML support, you need to add the dependency:  https://github.com/scala/scala-xml For SBT: libraryDependencies += org.scala-lang.modules %% scala-xml % 1.0.3 Thanks, Shreyas Date: Tue, 7 Apr 2015 11:12:25 +0430

RE: upgrading to Scala 2.11

2015-04-07 Thread shreyas
to remove this convertor from registry using (never tried myself): context.getTypeConverterRegistry.removeTypeConverter Thanks, Shreyas Date: Tue, 7 Apr 2015 11:30:15 +0430 Subject: Re: upgrading to Scala 2.11 From: behr...@gmail.com To: users

RE: SFTP: RequiredAuthentications2

2015-04-06 Thread shreyas
For anyone wondering in future, camel sftp works with RequiredAuthentications2  or multiple auth types (both key password). I tested it on OSX. Thanks, Shreyas From: claus.ib...@gmail.com Date: Fri, 27 Mar 2015 16:34:39 +0100 Subject: Re: SFTP

How to implement this jetty + s3 file as response use case?

2015-03-27 Thread shreyas
aws-s3 component on demand to download the AWS-S3 file and return it as response to http request? Note that the S3 url is dynamic and changes based on jetty request URI. Thanks for any suggestions, Shreyas

RE: How to implement this jetty + s3 file as response use case?

2015-03-27 Thread shreyas
Never mind was very silly of me to ask. I just used context.ConsumerTemplate for S3 download and start/stop it through a processor. The response from S3 was set as body in the netty4 response.  Thanks, Shreyas From: shreyas.puro...@hotmail.com

SFTP: RequiredAuthentications2

2015-03-26 Thread shreyas
Does camel support SFTP with RequiredAuthentications2 as provided in this link for auth:  http://security.stackexchange.com/questions/17931/possible-to-use-both-private-key-and-password-authentication-for-ssh-login? Thanks Shreyas

RE: Help with sequential, synchronous routes

2015-03-25 Thread shreyas
May be you are looking for a pipe line?  http://camel.apache.org/pipes-and-filters.html -Shreyas Date: Wed, 25 Mar 2015 09:48:21 -0700 From: lance.met...@libertymutual.com To: users@camel.apache.org Subject: Help with sequential, synchronous routes

RE: Latest 2.15 snapshot breaks my unit tests

2015-03-03 Thread shreyas
Steven,  Please follow this JIRA: https://issues.apache.org/jira/browse/CAMEL-8427 It fixes unit tests, but I am not sure how to use this with camel Main any more as I was doing: camelMain.addRouteBuilder(new SFTPRouteBuilder) and ScalaRouteBuilder expects a context.  ..Shreyas

RE: Latest 2.15 snapshot breaks my unit tests

2015-03-03 Thread shreyas
For anyone looking for a scala solution, for Main: http://bit.ly/1B5cmJh (in tooling, scala archetype) Thanks a lot Claus!! -Shreyas Purohit From: shreyas.puro...@hotmail.com To: users@camel.apache.org Subject: RE: Latest 2.15 snapshot breaks my unit

RE: Latest 2.15 snapshot breaks my unit tests

2015-03-03 Thread Shreyas Purohit
Yeah, then it is unrelated. What errors are you seeing in your unit tests? Can you attach a small sample failing test.On Mar 3, 2015 2:45 PM, Steven Marcus steven.marcus+nab...@gmail.com wrote: Hello, I don't have the camel-scala component in my pom.xml -- although it is a mixed language

RE: SFTP file process order

2015-02-25 Thread shreyas
But that has null as default option. So, what is the default behavior? And what about SFTP concurrent file download if there are multiple files? Thanks Shreyas From: dewitte...@gmail.com Date: Wed, 25 Feb 2015 08:20:45 + Subject: Re: SFTP file

SFTP file process order

2015-02-24 Thread shreyas
consumer but did not read anything about process order.  Also, is SFTP download's concurrent? I know FTP is not, but what about SFTP. Thanks in advance, Shreyas Purohit

SFTP exclude un-readable directory

2015-01-20 Thread shreyas
       at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2846) ~[jsch-0.1.51.jar:na] at com.jcraft.jsch.ChannelSftp.ls(ChannelSftp.java:1606) ~[jsch-0.1.51.jar:na] at com.jcraft.jsch.ChannelSftp.ls(ChannelSftp.java:1526) ~[jsch-0.1.51.jar:na] ..Shreyas..

mvn clean install -Pvalidate

2015-01-20 Thread shreyas
Hello, When I run 'mvn clean install -Pvalidate' command on master in platforms directory, it fails with below message (No connector available to access repository google.script.repo (htt p://scriptengines.googlecode.com/svn/m2-repo/) of type default using the available factories