Hi, I am using ServiceMix 2.0.2 version under linux. I'm trying to use the servicemix-eip. this is my servicemix.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://xbean.org/schemas/spring/1.0" xmlns:spring="http://xbean.org/schemas/spring/1.0" xmlns:sm="http://servicemix.org/config/1.0" xmlns:eip="http://servicemix.apache.org/eip/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xbean.org/schemas/spring/1.0 ../../conf/spring-beans.xsd http://servicemix.org/config/1.0 ../../conf/servicemix.xsd" xmlns:foo="http://servicemix.org/demo/"> <!-- the JBI container --> <sm:container spring:id="jbi" useMBeanServer="true" createMBeanServer="true" dumpStats="true" statsInterval="10"> <sm:activationSpecs> <sm:activationSpec componentName="slip" > <sm:component> <eip:component> <eip:endpoints> <eip:static-routing-slip service="foo:routingSlip" endpoint="endpoint"> <eip:targets> <eip:exchange-target service="foo:stockQuote"/> </eip:targets> </eip:static-routing-slip> </eip:endpoints> </eip:component> </sm:component> </sm:activationSpec> <!-- Create a http server binding on port 8912 and have it forward to the foo:transformer --> <sm:activationSpec componentName="httpReceiver" service="foo:httpBinding" endpoint="httpReceiver" destinationService="foo:routingSlip"> <sm:component > <bean id="con" xmlns="http://xbean.org/schemas/spring/1.0" class="org.servicemix.components.http.HttpConnector"> <property name="host" value="localhost"/> <property name="port" value="8912"/> </bean> </sm:component> </sm:activationSpec> <!-- This just invokes another service --> <!-- endpoint="stockQuote" --> <sm:activationSpec componentName="stockQuote" service="foo:stockQuote" > <sm:component> <bean xmlns="http://xbean.org/schemas/spring/1.0" class="org.servicemix.components.saaj.SaajBinding"> <property name="soapEndpoint"> <bean class="javax.xml.messaging.URLEndpoint"> <constructor-arg value="http://10.114.87.16:8080/axis/services/WS"/> </bean> </property> </bean> </sm:component> </sm:activationSpec> </sm:activationSpecs> </sm:container> </beans> and this is the error Caught: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbi' defined in file [/var/servicemix-2.0.2/examples/http-binding/ultimo.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Component name: slip is bound to an object which is not a JBI component, it is of type: javax.xml.namespace.QName org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbi' defined in file [/var/servicemix-2.0.2/examples/http-binding/ultimo.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Component name: slip is bound to an object which is not a JBI component, it is of type: javax.xml.namespace.QName java.lang.IllegalArgumentException: Component name: slip is bound to an object which is not a JBI component, it is of type: javax.xml.namespace.QName at org.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:786) at org.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:52) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1058) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:318) at org.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:149) at org.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:48) at org.servicemix.Main.main(Main.java:76) what mean? please help! -- View this message in context: http://www.nabble.com/eip-static-route-slip-tf2038931.html#a5611063 Sent from the ServiceMix - User forum at Nabble.com.
