Hi, I have checked that there is a working SFTP Binding Component for service mix @ http://mail-archives.apache.org/mod_mbox/geronimo-servicemix-users/20070 6.mbox/[EMAIL PROTECTED]
I am trying to deploy sftp binding component for servicemix. The following is the servicemix.xml Servicemix.xml <beans xmlns:sm="http://servicemix.apache.org/config/1.0" xmlns:sftp="http://servicemix.apache.org/sftp/1.0"> <sm:container id="jbi" embedded="true" createMBeanServer="false"> <sm:activationSpecs> <sm:activationSpec> <sm:component> <sftp:component> <sftp:endpoints> <sftp:sender service="sftp:sftpSender" endpoint="senderEndpoint" uri=""/> <!-- <sftp:clientPool> <ref bean="sshConnectionPool"/> </sftp:clientPool> --> </sftp:endpoints> </sftp:component> </sm:component> </sm:activationSpec> </sm:activationSpecs> </sm:container> </beans> XBean.xml <bean id="propertyPlaceholder" class="org.springframework.beans.factory.config.PropertyPlaceholderConfi gurer"> <property name="location" value="classpath:sftp.properties" /> </bean> <bean id="sshConnectionPool" class="org.apache.commons.pool.springframework.KeyedObjectPoolFactoryBea n"> <property name="objectFactory"> <bean class="org.apache.servicemix.sftp.jsch.pool.JschSessionFactoryImpl"/> </property> <property name="maxActive" value="10"/> <property name="maxIdle" value="0"/> <property name="maxWait" value="10000"/> <property name="timeBetweenEvictionRunsMillis" value="60000"/> <property name="numTestsPerEvictionRun" value="1"/> <property name="testOnBorrow" value="true"/> <property name="testOnReturn" value="true"/> <property name="testWhileIdle" value="true"/> <!-- <property name="maxTotal" value="-1"/> <property name="whenExhaustedAction" value="1"/> <property name="minEvictableIdleTimeMillis" value="1800000"/> --> </bean> <bean id="senderEndpoint" class="org.apache.servicemix.sftp.SftpPollerEndpoint"> <property name="clientPool" ref="sshConnectionPool"/> <property name="uri" value="sftp://root:[EMAIL PROTECTED]:22/sftp_test"/> <property name="sshServerInfo"> <bean class="org.apache.servicemix.sftp.jsch.pool.JschPoolableKey"> <constructor-arg value="${sftp.host}" /> <constructor-arg value="${sftp.port}" /> <constructor-arg value="${sftp.username}" /> <constructor-arg value="${sftp.password}" /> </bean> </property> </bean> </beans> I am getting an error for the namespace org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean namespace mapping: http://servicemix.apache.org/sftp/1.0 I even tried out http://servicemix.apache.org/ftp/1.0 but it does not work. Please let me know about it. Warm Regards, Anshuk Pal Chaudhuri **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***
