camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geetha <>
Subject Re: FileNotFound exception is not thrown while doing SFTP
Date Fri, 28 Feb 2014 10:27:43 GMT
Yeah understood the problem. 

i am listening to a queue for a message which contains the ftp server
details and path of the file. based upon the server details i have to get
the file. So i used consumer.receive inside one of my processor.It worked
fine if file exists. Without using consumer.receive, how can i get the file
from the remote server?

 Am using Spring DSL for defining the route. My camel-context.xml looks like

location="file:///etc/opt/edm/chargeevents/" /> 
    <camelContext xmlns="" id="xyz">
 	<consumerTemplate id="consumer"/>
         <route id="jmsTransport">
            <from uri="activemq:queue:testqueue"/>
            <process ref="prc1"/>
            <process ref="prc2"/>
            <process ref="prc3"/>

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message