I am trying to deploy a component with servicemix.xml file . But I get an error 
"Unrecognized xbean namespace mapping: http://servicemix.apache.org/jms/1.0";
   
  Here is the xbean file :
   
  <beans xmlns:jms="http://servicemix.apache.org/jms/1.0";   
    xmlns:sm="http://servicemix.apache.org/config/1.0"; 
       xmlns:sub="http://subp"; 
    xmlns:amq="http://activemq.org/config/1.0"; >
    <sm:serviceunit id="jbi">
    <sm:activationSpecs>
        <!-- JMS POLLER - CONSUMER -->
   <sm:activationSpec componentName="MyConsumer" service="sub:MyConsumer">
    <sm:component>
     <jms:component>
      <jms:endpoints>
       <jms:endpoint service="sub:MyConsumer"
        endpoint="MyConsumer"
        targetService="sub:MyProvider"
        targetEndpoint="MyProvider"
        role="consumer"
        destinationStyle="topic"
        jmsProviderDestinationName="demo.org.servicemix.source"
        defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
        defaultOperation="sub:Echo"
        connectionFactory="#connectionFactory" />
      </jms:endpoints>
     </jms:component>
    </sm:component>
   </sm:activationSpec>
   <!-- JMS SENDER - PROVIDER -->
   <sm:activationSpec componentName="MyProvider" service="sub:MyProvider">
    <sm:component>
     <jms:component>
      <jms:endpoints>        
       <jms:endpoint service="sub:MyProvider"
        endpoint="myProvider"
        role="provider"
        defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
        destinationStyle="topic"
        jmsProviderDestinationName="demo.org.servicemix.result"
        connectionFactory="#connectionFactory" />
      </jms:endpoints>
     </jms:component>
    </sm:component>
   </sm:activationSpec>   
    </sm:activationSpecs>
  </sm:serviceunit>
 <amq:connectionFactory id="connectionFactory" 
brokerURL="tcp://localhost:61616/" />
</beans>


   
  <stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationException: 
org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized 
xbean namespace mapping: http://servicemix.apache.org/jms/1.0
 at 
org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:424)
 at 
org.apache.xbean.kernel.standard.StandardKernel.registerService(StandardKernel.java:220)
 at 
org.apache.xbean.server.spring.loader.SpringLoader.load(SpringLoader.java:154)
 at 
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:79)
 at 
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
 at 
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
 at 
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:527)
 at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:335)
 at 

       
---------------------------------
Shape Yahoo! in your own image.  Join our Network Research Panel today!

Reply via email to