Hi,
Can some one advise on the above issue I am facing.
Upgrading Camel is not an option - since we are facing this issue in
Production.
FYI:
I set up a local sFTP server locally to test the above requirement - and it
seems to work fine - I am wondering if its to do with directory permission?
<route id="emir_sftpToSDR" reform:name="Emir sFTP Reports to DTCC GTR"
reform:systemName="Emir sFTP DTCC GTR">
<from uri="file:/opt/share/source"/>
<setHeader headerName="CamelFileName">
<simple>put/DTS4.UP.C5T62.S60300</simple>
</setHeader>
<to
uri="sftp://[email protected]?privateKeyFile=C:\Downloads\AWS\AP\TestUser&binary=true&disconnect=true&stepwise=false&maximumReconnectAttempts=0"/>
</route>
I am using a Linux environment but the production is a Unix environment -
will there be any difference b.w the two in terms of directory access.
Also - can some one advise on how to set/change the log level for jSCH. How
to set log level to DEBUG?
My current log4j config is set as
#
# The logging properties used
#
log4j.rootLogger=INFO, out, File
# uncomment the following line to turn on Camel debugging
#log4j.logger.org.apache.camel=TRACE
# uncomment the following line to turn on ActiveMQ debugging
#log4j.logger.org.apache.activemq=DEBUG
#log4j.logger.org.springframework=WARN
log4j.logger.com.atomikos=WARN
#avoid warning in
AtomikosConnectionFactoryBean.creteConnection(user,password)
log4j.logger.com.atomikos.jms.AtomikosConnectionFactoryBean=ERROR
# CONSOLE appender not used by default
log4j.appender.out=org.apache.log4j.ConsoleAppender
log4j.appender.out.layout=org.apache.log4j.PatternLayout
log4j.appender.out.layout.ConversionPattern=[%d %t] %-30.30c{1} %-5p %m%n
#log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1}
- %m%n
# NOT STDOUT Log to a file
log4j.throwableRenderer=org.apache.log4j.EnhancedThrowableRenderer
log4j.appender.File=org.apache.log4j.DailyRollingFileAppender
log4j.appender.File.File=${reformMB.log.dir}/reformMB.log
log4j.appender.File.layout=org.apache.log4j.PatternLayout
log4j.appender.File.layout.ConversionPattern=[%d %t] %-30.30c{1} %-5p %m%n
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-with-sFTP-PUT-tp5752794p5753045.html
Sent from the Camel - Users mailing list archive at Nabble.com.