camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From souciance <souciance.eqdam.ras...@gmail.com>
Subject Re: FTP Route fails with no errors
Date Fri, 22 Jul 2016 18:03:49 GMT
What do you mean Camel immediately ends? How is the route deployed?

On Fri, Jul 22, 2016 at 7:58 PM, JSmith [via Camel] <
ml-node+s465427n5785371h64@n5.nabble.com> wrote:

> Hey all, first time posting here so feel free to ask me for more details
> on anything.
>
> I'm using Apache Camel 2.17.1 on a CentOS 6.7 VM with VSFTPD version
> 2.2.2.  I'm testing local file transferring using Apache Camel just so I
> can get a feel for everything.
>
> I have a route similar to this:
>
> <route customId="true" id="localRoute">
>     <from uri="
> ftp://localUsername@127.0.0.1/LOCAL/takefrom?password=localPassword&amp;move=${file:name.noext}.${file:name.ext}.old&amp;exclude=.*.old&amp;include=.*.txt"
> />
>     <to uri="
> ftp://localUsername@127.0.0.1/LOCAL/puthere?password=localPassword" />
> </route>
>
>
> And it simply does not work.  The from URI will not transfer any files in
> the "LOCAL/takefrom" directory.
>
> All directories that are being used have been "chmod -R 777" so I know
> there are no errors with permissions on the paths or the files in them.
>
> Also, switching from "ftp://" to "sftp://" results in Camel working as
> intended moving all files from the takefrom directory into the puthere
> directory, it seems to be some odd, specific issue with the FTP.
>
> Turning on debugging (by updating the LOG4J properties to use DEBUG)
> results in no errors being shown.  The logging output even ends with:
>
> "2016-07-22 13:26:38 [main] INFO
>  org.apache.camel.spring.SpringCamelContext  - Total 1 routes, of which 1
> are started.
> 2016-07-22 13:26:38 [main] INFO
>  org.apache.camel.spring.SpringCamelContext  - Apache Camel 2.17.1
> (CamelContext: camel-1) started in 0.599 seconds"
>
> Camel immediately ends after that is logged, it does not attempt to wait
> around and poll for any new files.
>
> I'm really not sure of what is going on, I haven't come across any other
> posts that display a similar issue to mine so any help would be
> appreciated!
>
> Thanks
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/FTP-Route-fails-with-no-errors-tp5785371.html
> To start a new topic under Camel - Users, email
> ml-node+s465427n465428h31@n5.nabble.com
> To unsubscribe from Camel - Users, click here
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=>
> .
> NAML
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://camel.465427.n5.nabble.com/FTP-Route-fails-with-no-errors-tp5785371p5785372.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message