Using camel 2.16.0 Cannot read any files from SFTP location, the same code works for 2.15.3

2016-04-23 Thread nikhilesh
Hi, I have a below camel route which is used to poll files from the sftp location, which does not work when I use camel 2.16.0 version and workks fine with 2.15.3 version without any issues. note:I did not use the absolute path when I used 2.16.0 version @Override public void config

Re: Camel SFTP,quartz2 component gives:Cannot retrieve file :caused by GenericFileOperationFailedException,when polling multiple files from sftp

2016-04-23 Thread nikhilesh
Hans, I tired to change my camel version to 2.16.3, but that did not fix my issue, in fact my camel route stopped polling the files itself. (In my intiual scenario I did not encounter FileNotFoundException but GenericFileOperationFailedException which is caused by IOExcepton : streams or

Re: Camel SFTP,quartz2 component gives:Cannot retrieve file :caused by GenericFileOperationFailedException,when polling multiple files from sftp

2016-04-23 Thread nikhilesh
Hans, I tired to change my camel version to 2.16.3, but that did not fix my issue, in fact my camel route stopped picking the files. (And I'm not even getting the FileNotFoundException but getting the GenericFileOperationFailedException which is caused by IOExcepton : streams or Pipes are closed

Re: Camel SFTP,quartz2 component gives:Cannot retrieve file :caused by GenericFileOperationFailedException,when polling multiple files from sftp

2016-04-23 Thread Hans Orbaan
Hi, Does the issue also occur when you use a delay and not a quartz2 schedule? If it does not occur with a delay it could be because of an already fixed issue: https://issues.apache.org/jira/browse/CAMEL-9752 Van: nikhilesh Verzonden: vrijdag 22 april 2

Re: Camel Spring Boot adding XML routes

2016-04-23 Thread Pontus Ullgren
Doh ! Thanks for your quick reply. Pontus Ullgren On Fri, 22 Apr 2016 at 09:59 Luca Burgazzoli wrote: > Looks like the xml definition lacks the from element ;) > --- > Luca Burgazzoli > > > On Thu, Apr 21, 2016 at 10:01 PM, Pontus Ullgren > wrote: > > Hello, > > > > From a project based on th

java.lang.IllegalArgumentException: Cannot add component as its already previously added: jms

2016-04-23 Thread nicolasduminil
Hello, I'm trying to run a simple route copying a file content to a JMS destination with ActiveMQ. here is the code : public class MyRoutes extends RouteBuilder { @Inject @Uri("file:data/inbox?noop=true") private Endpoint inputEndpoint; @Inject @Uri("jms:incommingData") private Endp

Re: Need an interceptSendTo hook

2016-04-23 Thread Claus Ibsen
On Fri, Apr 22, 2016 at 9:11 PM, Jeff Segal wrote: > Actually, one thing I just considered was that the id() DSL doesn't appear > to support an expression, so generating it dynamically may not be possible > (something I was hoping to be able to do in a second weave spot). Right now > I'm actually