Vincent Vincent
2012-04-04 21:15:42 UTC
I think it is a BUG....! I got the same problem, too. Here is my flow & DEBUG message:
<br /><br />
<code>
<br />
<?xml version="1.0" encoding="UTF-8"?>
<br /><br />
<mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:sftp="http://www.mulesoft.org/schema/mule/sftp"
<br />
xmlns:file="http://www.mulesoft.org/schema/mule/file" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
<br />
xmlns:spring="http://www.springframework.org/schema/beans" xmlns:core="http://www.mulesoft.org/schema/mule/core"
<br />
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="EE-3.2.2"
<br />
xsi:schemaLocation="
<br />
http://www.mulesoft.org/schema/mule/sftp http://www.mulesoft.org/schema/mule/sftp/current/mule-sftp.xsd
<br />
http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd
<br />
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
<br />
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
<br />
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd ">
<br />
<spring:beans>
<br />
<spring:bean id="property-placeholder"
<br />
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"
<br />
doc:name="Bean">
<br />
<spring:property name="location" value="classpath:db.properties" />
<br />
</spring:bean>
<br />
<spring:bean id="dataSource"
<br />
class="org.enhydra.jdbc.standard.StandardDataSource" destroy-method="shutdown"
<br />
doc:name="Bean">
<br />
<spring:property name="driverName" value="${database.driver}" />
<br />
<spring:property name="url" value="${database.connection}" />
<br />
<spring:property name="user" value="${database.user}" />
<br />
<spring:property name="password" value="${database.password}" />
<br />
</spring:bean>
<br />
</spring:beans>
<br />
<flow name="sFTPtoLocalFlow1" doc:name="sFTPtoLocalFlow1">
<br />
<sftp:inbound-endpoint exchange-pattern="one-way"
<br />
host="${sftp.host}" port="${sftp.port}" path="${sftp.path}" user="${sftp.user}"
<br />
password="${sftp.password}" responseTimeout="60000" pollingFrequency="60000"
<br />
fileAge="6000" sizeCheckWaitTime="1000" autoDelete="false"
<br />
doc:name="SFTP">
<br />
<file:filename-wildcard-filter pattern="W42.txt" />
<br />
</sftp:inbound-endpoint>
<br />
<file:outbound-endpoint path="${sftp.out.path}"
<br />
responseTimeout="10000" doc:name="File" />
<br />
</flow>
<br />
</mule>
<br /><br />
</code>
<br />
=============================================================
<br />
DEBUG message:
<br />
org.mule.processor.LaxAsyncInterceptingMessageProcessor,
<br />
org.mule.transport.AbstractConnector$DispatcherMessageProcessor
<br />
] with event MuleEvent: 0-38b1a36f-7e98-11e1-8f48-ffe89997f5cb, stop processing=false, sftp://jlee:<a href="mailto:xxx-***@public.gmane.org" rel="nofollow">xxx-***@public.gmane.org</a>:22/HOME/
<br />
DEBUG 2012-04-04 15:53:24,912 [[sftptolocal].sFTPtoLocalFlow1.stage1.03] org.mule.processor.chain.DefaultMessageProcessorChain: Invoking DefaultMessageProcessorChain 'dispatcher processor chain for 'file://C:log''
<br />
[
<br />
org.mule.processor.LaxAsyncInterceptingMessageProcessor
<br />
] with event MuleEvent: 0-38b1a36f-7e98-11e1-8f48-ffe89997f5cb, stop processing=false, sftp://jlee:<a href="mailto:xxx-***@public.gmane.org" rel="nofollow">xxx-***@public.gmane.org</a>:22/HOME/
<br />
DEBUG 2012-04-04 15:53:24,912 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.file.FileConnector: Borrowing a dispatcher for endpoint: file://C:log
<br />
DEBUG 2012-04-04 15:53:24,912 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.file.FileConnector: Borrowed a dispatcher for endpoint: file://C:log = FileMessageDispatcher{this=3052ce, endpoint=file://C:log, disposed=false}
<br />
DEBUG 2012-04-04 15:53:24,912 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.file.FileConnector: Borrowed dispatcher: FileMessageDispatcher{this=3052ce, endpoint=file://C:log, disposed=false}
<br />
DEBUG 2012-04-04 15:53:24,912 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.session.SerializeAndEncodeSessionHandler: Adding serialized and base64-encoded Session header to message: rO0ABXNyACNvcmcubXVsZS5zZXNzaW9uLkRlZmF1bHRNdWxlU2Vzc2lvbi7rdtEW7GGKAwAEWgAFdmFsaWRMAAJpZHQAEkxqYXZhL2xhbmcvU3RyaW5nO0wACnByb3BlcnRpZXN0AA9MamF2YS91dGlsL01hcDtMAA9zZWN1cml0eUNvbnRleHR0ACdMb3JnL211bGUvYXBpL3NlY3VyaXR5L1NlY3VyaXR5Q29udGV4dDt4cAF0ACQzOGIxYTM2ZS03ZTk4LTExZTEtOGY0OC1mZmU4OTk5N2Y1Y2JzcgAlamF2YS51dGlsLkNvbGxlY3Rpb25zJFN5bmNocm9uaXplZE1hcBtz+QlLSzl7AwACTAABbXEAfgACTAAFbXV0ZXh0ABJMamF2YS9sYW5nL09iamVjdDt4cHNyACRvcmcubXVsZS51dGlsLkNhc2VJbnNlbnNpdGl2ZUhhc2hNYXCd0dnvZ0XOAAMAAHhwdww/QAAAAAAAEAAAAAB4cQB+AAh4cHQAEHNGVFB0b0xvY2FsRmxvdzF4
<br />
INFO 2012-04-04 15:53:24,912 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.file.FileConnector: Writing file to: C:\MULEWORKSPACE\sftptolocal\log\W42.txt
<br />
DEBUG 2012-04-04 15:53:42,178 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.sftp.SftpInputStream: Closing the stream for the file W42.txt
<br />
DEBUG 2012-04-04 15:53:42,178 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.sftp.SftpClient: Will try to delete W42.txt
<br />
DEBUG 2012-04-04 15:53:42,210 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.file.FileMessageDispatcher: Closing file
<br />
DEBUG 2012-04-04 15:53:42,225 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.file.FileConnector: Returning dispatcher for endpoint: file://C:log = FileMessageDispatcher{this=3052ce, endpoint=file://C:log, disposed=false}
<br />
DEBUG 2012-04-04 15:54:21,617 [[sftptolocal].connector.sftp.mule.default.receiver.01] org.mule.transport.sftp.SftpMessageReceiver: Pooling. Called at endpoint sftp://jlee_fmis_mn:****@fhwawar1.fhwa.dot.gov:22/HOME/EDS_to_states/
<br />
DEBUG 2012-04-04 15:54:21,617 [[sftptolocal].connector.sftp.mule.default.receiver.01] org.mule.transport.sftp.SftpReceiverRequesterUtil: Checking files at endpoint sftp://jlee_fmis_mn:****@fhwawar1.fhwa.dot.gov:22/HOME/EDS_to_states/ <a href="Loading Image... rel="nofollow"><img alt="" src="Loading Image... /></a>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
<br /><br />
<code>
<br />
<?xml version="1.0" encoding="UTF-8"?>
<br /><br />
<mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:sftp="http://www.mulesoft.org/schema/mule/sftp"
<br />
xmlns:file="http://www.mulesoft.org/schema/mule/file" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
<br />
xmlns:spring="http://www.springframework.org/schema/beans" xmlns:core="http://www.mulesoft.org/schema/mule/core"
<br />
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="EE-3.2.2"
<br />
xsi:schemaLocation="
<br />
http://www.mulesoft.org/schema/mule/sftp http://www.mulesoft.org/schema/mule/sftp/current/mule-sftp.xsd
<br />
http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd
<br />
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
<br />
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
<br />
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd ">
<br />
<spring:beans>
<br />
<spring:bean id="property-placeholder"
<br />
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"
<br />
doc:name="Bean">
<br />
<spring:property name="location" value="classpath:db.properties" />
<br />
</spring:bean>
<br />
<spring:bean id="dataSource"
<br />
class="org.enhydra.jdbc.standard.StandardDataSource" destroy-method="shutdown"
<br />
doc:name="Bean">
<br />
<spring:property name="driverName" value="${database.driver}" />
<br />
<spring:property name="url" value="${database.connection}" />
<br />
<spring:property name="user" value="${database.user}" />
<br />
<spring:property name="password" value="${database.password}" />
<br />
</spring:bean>
<br />
</spring:beans>
<br />
<flow name="sFTPtoLocalFlow1" doc:name="sFTPtoLocalFlow1">
<br />
<sftp:inbound-endpoint exchange-pattern="one-way"
<br />
host="${sftp.host}" port="${sftp.port}" path="${sftp.path}" user="${sftp.user}"
<br />
password="${sftp.password}" responseTimeout="60000" pollingFrequency="60000"
<br />
fileAge="6000" sizeCheckWaitTime="1000" autoDelete="false"
<br />
doc:name="SFTP">
<br />
<file:filename-wildcard-filter pattern="W42.txt" />
<br />
</sftp:inbound-endpoint>
<br />
<file:outbound-endpoint path="${sftp.out.path}"
<br />
responseTimeout="10000" doc:name="File" />
<br />
</flow>
<br />
</mule>
<br /><br />
</code>
<br />
=============================================================
<br />
DEBUG message:
<br />
org.mule.processor.LaxAsyncInterceptingMessageProcessor,
<br />
org.mule.transport.AbstractConnector$DispatcherMessageProcessor
<br />
] with event MuleEvent: 0-38b1a36f-7e98-11e1-8f48-ffe89997f5cb, stop processing=false, sftp://jlee:<a href="mailto:xxx-***@public.gmane.org" rel="nofollow">xxx-***@public.gmane.org</a>:22/HOME/
<br />
DEBUG 2012-04-04 15:53:24,912 [[sftptolocal].sFTPtoLocalFlow1.stage1.03] org.mule.processor.chain.DefaultMessageProcessorChain: Invoking DefaultMessageProcessorChain 'dispatcher processor chain for 'file://C:log''
<br />
[
<br />
org.mule.processor.LaxAsyncInterceptingMessageProcessor
<br />
] with event MuleEvent: 0-38b1a36f-7e98-11e1-8f48-ffe89997f5cb, stop processing=false, sftp://jlee:<a href="mailto:xxx-***@public.gmane.org" rel="nofollow">xxx-***@public.gmane.org</a>:22/HOME/
<br />
DEBUG 2012-04-04 15:53:24,912 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.file.FileConnector: Borrowing a dispatcher for endpoint: file://C:log
<br />
DEBUG 2012-04-04 15:53:24,912 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.file.FileConnector: Borrowed a dispatcher for endpoint: file://C:log = FileMessageDispatcher{this=3052ce, endpoint=file://C:log, disposed=false}
<br />
DEBUG 2012-04-04 15:53:24,912 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.file.FileConnector: Borrowed dispatcher: FileMessageDispatcher{this=3052ce, endpoint=file://C:log, disposed=false}
<br />
DEBUG 2012-04-04 15:53:24,912 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.session.SerializeAndEncodeSessionHandler: Adding serialized and base64-encoded Session header to message: rO0ABXNyACNvcmcubXVsZS5zZXNzaW9uLkRlZmF1bHRNdWxlU2Vzc2lvbi7rdtEW7GGKAwAEWgAFdmFsaWRMAAJpZHQAEkxqYXZhL2xhbmcvU3RyaW5nO0wACnByb3BlcnRpZXN0AA9MamF2YS91dGlsL01hcDtMAA9zZWN1cml0eUNvbnRleHR0ACdMb3JnL211bGUvYXBpL3NlY3VyaXR5L1NlY3VyaXR5Q29udGV4dDt4cAF0ACQzOGIxYTM2ZS03ZTk4LTExZTEtOGY0OC1mZmU4OTk5N2Y1Y2JzcgAlamF2YS51dGlsLkNvbGxlY3Rpb25zJFN5bmNocm9uaXplZE1hcBtz+QlLSzl7AwACTAABbXEAfgACTAAFbXV0ZXh0ABJMamF2YS9sYW5nL09iamVjdDt4cHNyACRvcmcubXVsZS51dGlsLkNhc2VJbnNlbnNpdGl2ZUhhc2hNYXCd0dnvZ0XOAAMAAHhwdww/QAAAAAAAEAAAAAB4cQB+AAh4cHQAEHNGVFB0b0xvY2FsRmxvdzF4
<br />
INFO 2012-04-04 15:53:24,912 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.file.FileConnector: Writing file to: C:\MULEWORKSPACE\sftptolocal\log\W42.txt
<br />
DEBUG 2012-04-04 15:53:42,178 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.sftp.SftpInputStream: Closing the stream for the file W42.txt
<br />
DEBUG 2012-04-04 15:53:42,178 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.sftp.SftpClient: Will try to delete W42.txt
<br />
DEBUG 2012-04-04 15:53:42,210 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.file.FileMessageDispatcher: Closing file
<br />
DEBUG 2012-04-04 15:53:42,225 [[sftptolocal].connector.file.mule.default.dispatcher.01] org.mule.transport.file.FileConnector: Returning dispatcher for endpoint: file://C:log = FileMessageDispatcher{this=3052ce, endpoint=file://C:log, disposed=false}
<br />
DEBUG 2012-04-04 15:54:21,617 [[sftptolocal].connector.sftp.mule.default.receiver.01] org.mule.transport.sftp.SftpMessageReceiver: Pooling. Called at endpoint sftp://jlee_fmis_mn:****@fhwawar1.fhwa.dot.gov:22/HOME/EDS_to_states/
<br />
DEBUG 2012-04-04 15:54:21,617 [[sftptolocal].connector.sftp.mule.default.receiver.01] org.mule.transport.sftp.SftpReceiverRequesterUtil: Checking files at endpoint sftp://jlee_fmis_mn:****@fhwawar1.fhwa.dot.gov:22/HOME/EDS_to_states/ <a href="Loading Image... rel="nofollow"><img alt="" src="Loading Image... /></a>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email