I have this scenario: a CXF based application in service mix. I have to FTP the ingoing messages to a FTP server. So I think would need:
-1 CXF-BC su -1 CXF-SE su -1 FTP-SENDER su -1 CAMEL su I think I would need a wiretap that send the incoming messages to the FTP SU. I have config problems with camel su. The following are the xbean.xml CXF-SE xbean: <beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0" xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://servicemix.apache.org/cxfse/1.0 http://servicemix.apache.org/schema/servicemix-cxfse-3.2.2.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> <cxfse:endpoint> <cxfse:pojo> <bean class="org.apache.hello_world_soap_http.GreeterImpl" /> </cxfse:pojo> </cxfse:endpoint> </beans> CXF-BC xbean: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0" xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance" xmlns:hello="http://apache.org/hello_world_soap_http" xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0 http://servicemix.apache.org/schema/servicemix-cxfbc-3.2.2.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> <cxfbc:consumer wsdl="classpath:hello_world.wsdl" targetService="hello:SOAPService" targetInterface="hello:Greeter"/> </beans> FTP sender xbean: <beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0" xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans" xmlns:file ="file" xmlns:ftpz ="ftp" xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://servicemix.apache.org/ftp/1.0 http://servicemix.apache.org/schema/servicemix-ftp-3.2.2.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> <ftp:sender service="ftpz:sender" endpoint="endpoint" uri="ftp://asinous:asin...@localhost" /> </beans> what about the Camel one??? <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:hello="http://apache.org/hello_world_soap_http" xmlns:ftpz ="ftp" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd "> <camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring"> <route> <from uri="hello:SOAPService"/> <multicast> <to uri="??????????"/> <to uri="ftpz:sender"/> </multicast> </route> </camelContext> </beans> what to put inside thje question marks, (if my idea is correct)??? -- View this message in context: http://www.nabble.com/camel-question-tp21807917p21807917.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
