title: Unrecognized xbean namespace mapping: http://activemq.apache.org/schema/core
body: <p>Good day. Please point out the error. Trying to connect two brokers. Tests taken in developer studio, jboss fuse but writes to the log(below is the pom and camel-context file):</p>
  
  <pre><code>org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean namespace mapping: http://activemq.apache.org/schema/core
      at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:284)[org.apache.xbean:xbean-spring:3.18]
      at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:156)[org.apache.xbean:xbean-spring:3.18]
      at org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:49)[org.apache.xbean:xbean-spring:3.18]
      at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1432)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
      at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1422)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
      at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:187)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
      at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:147)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
      at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:101)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:495)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
      at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
      at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
      at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.12.RELEASE_1]
      at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:164)[org.springframework.osgi:spring-osgi-core:1.2.1]
      at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:136)[org.springframework.osgi:spring-osgi-core:1.2.1]
      at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-context:3.2.12.RELEASE_1]
      at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:539)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-context:3.2.12.RELEASE_1]
      at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$800(AbstractDelegatedExecutionApplicationContext.java:69)[org.springframework.osgi:spring-osgi-core:1.2.1]
      at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:269)[org.springframework.osgi:spring-osgi-core:1.2.1]
      at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[org.springframework.osgi:spring-osgi-core:1.2.1]
      at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:247)[org.springframework.osgi:spring-osgi-core:1.2.1]
      at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:214)[org.springframework.osgi:spring-osgi-extender:1.2.1]
      at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:169)[org.springframework.osgi:spring-osgi-extender:1.2.1]
      at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)[org.springframework.osgi:spring-osgi-core:1.2.1]
      at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:716)[org.springframework.osgi:spring-osgi-extender:1.2.1]
      at java.lang.Thread.run(Thread.java:745)[:1.7.0_91]
  </code></pre>
  
  <p>Camel-context file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!-- Configures the Camel Context--&gt;
  &lt;beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:amq="http://activemq.apache.org/schema/core"
      xsi:schemaLocation="http://www.springframework.org/schema/beans 
                          http://www.springframework.org/schema/beans/spring-beans.xsd 
                          http://camel.apache.org/schema/spring 
                          http://camel.apache.org/schema/spring/camel-spring.xsd 
                          http://activemq.apache.org/schema/core 
                          http://activemq.apache.org/schema/core/activemq-core.xsd"&gt;
      &lt;!-- This creates an embedded ActiveMQ Broker --&gt;
      &lt;broker xmlns="http://activemq.apache.org/schema/core" useJmx="true"       persistent="false"&gt;
          &lt;transportConnectors&gt;
              &lt;transportConnector uri="tcp://localhost:61613" /&gt;
          &lt;/transportConnectors&gt;
      &lt;/broker&gt;
  
      &lt;!-- Lets connect the Camel ActiveMQ component to the embedded broker.
      See http://camel.apache.org/activemq.html for more information.--&gt;
  
      &lt;bean id="activemq"    class="org.apache.activemq.camel.component.ActiveMQComponent"&gt;
          &lt;property name="brokerURL" value="failover:tcp://localhost:61613"/&gt;
      &lt;/bean&gt;
  
      &lt;bean id="websphere" class="org.apache.camel.component.jms.JmsComponent"&gt;
          &lt;property name="connectionFactory"&gt;
              &lt;bean class="com.ibm.mq.jms.MQConnectionFactory"&gt;
                  &lt;property name="transportType" value="1" /&gt;
                  &lt;property name="hostName" value="***.***.***.***"/&gt;
                  &lt;property name="port" value="port"/&gt;
                  &lt;property name="queueManager" value="namemanager"/&gt;
                  &lt;property name="channel" value="namechanel"/&gt;
              &lt;/bean&gt;
         &lt;/property&gt;
     &lt;/bean&gt;
  
      &lt;camelContext xmlns="http://camel.apache.org/schema/spring"&gt;
          &lt;route&gt;
              &lt;from uri="websphere:queue:TestQ"/&gt;
              &lt;to uri="activemq:sink-queue"/&gt;
          &lt;/route&gt;
      &lt;/camelContext&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p>Pom file:</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
   &lt;project xmlns="http://maven.apache.org/POM/4.0.0"       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
  
   &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
   &lt;groupId&gt;com.mycompany&lt;/groupId&gt;
   &lt;artifactId&gt;camel-activemq&lt;/artifactId&gt;
   &lt;packaging&gt;jar&lt;/packaging&gt;
   &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt;
  
   &lt;name&gt;ActiveMQ embedded with Camel&lt;/name&gt;
   &lt;url&gt;http://www.myorganization.org&lt;/url&gt;
  
   &lt;properties&gt;
   &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
   &lt;project.reporting.outputEncoding&gt;UTF- 8&lt;/project.reporting.outputEncoding&gt;
   &lt;/properties&gt;
  
   &lt;repositories&gt;
    &lt;repository&gt;
    &lt;id&gt;release.fusesource.org&lt;/id&gt;
    &lt;name&gt;FuseSource Release Repository&lt;/name&gt;
       &lt;url&gt;http://repo.fusesource.com/nexus/content/repositories/releases&lt;/url&gt;
    &lt;snapshots&gt;
      &lt;enabled&gt;false&lt;/enabled&gt;
    &lt;/snapshots&gt;
    &lt;releases&gt;
      &lt;enabled&gt;true&lt;/enabled&gt;`enter code here`
    &lt;/releases&gt;
    &lt;/repository&gt;
    &lt;repository&gt;
    &lt;id&gt;ea.fusesource.org&lt;/id&gt;
    &lt;name&gt;FuseSource Community Early Access Release Repository&lt;/name&gt;
    &lt;url&gt;http://repo.fusesource.com/nexus/content/groups/ea&lt;/url&gt;
    &lt;snapshots&gt;
    &lt;enabled&gt;false&lt;/enabled&gt;
    &lt;/snapshots&gt;
    &lt;releases&gt;
    &lt;enabled&gt;true&lt;/enabled&gt;
    &lt;/releases&gt;
    &lt;/repository&gt;    
    &lt;/repositories&gt;
  
    &lt;pluginRepositories&gt;
    &lt;pluginRepository&gt;
    &lt;id&gt;release.fusesource.org&lt;/id&gt;
    &lt;name&gt;FuseSource Release Repository&lt;/name&gt;
     &lt;url&gt;http://repo.fusesource.com/nexus/content/repositories/releases&lt;/url&gt;
    &lt;snapshots&gt;
      &lt;enabled&gt;false&lt;/enabled&gt;
    &lt;/snapshots&gt;
    &lt;releases&gt;
      &lt;enabled&gt;true&lt;/enabled&gt;
    &lt;/releases&gt;
  &lt;/pluginRepository&gt;
  &lt;pluginRepository&gt;
   &lt;id&gt;ea.fusesource.org&lt;/id&gt;
   &lt;name&gt;FuseSource Community Early Access Release Repository&lt;/name&gt;
   &lt;url&gt;http://repo.fusesource.com/nexus/content/groups/ea&lt;/url&gt;
   &lt;snapshots&gt;
    &lt;enabled&gt;false&lt;/enabled&gt;
   &lt;/snapshots&gt;
   &lt;releases&gt;
    &lt;enabled&gt;true&lt;/enabled&gt;
   &lt;/releases&gt;
  &lt;/pluginRepository&gt;      
  &lt;/pluginRepositories&gt;
  
  &lt;dependencies&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;com.ibm.mq&lt;/groupId&gt;
    &lt;artifactId&gt;com.ibm.mq.allclient&lt;/artifactId&gt;
    &lt;version&gt;8.0.0.4&lt;/version&gt;
    &lt;scope&gt;compile&lt;/scope&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;com.ibm&lt;/groupId&gt;
    &lt;artifactId&gt;com.ibm.mq&lt;/artifactId&gt;
    &lt;version&gt;8.0.0.4&lt;/version&gt;
    &lt;scope&gt;compile&lt;/scope&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;com.ibm&lt;/groupId&gt;
    &lt;artifactId&gt;com.ibm.mqjms&lt;/artifactId&gt;
    &lt;version&gt;8.0.0.4&lt;/version&gt;
    &lt;scope&gt;compile&lt;/scope&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;jms&lt;/groupId&gt;
    &lt;artifactId&gt;jms&lt;/artifactId&gt;
    &lt;version&gt;8.0.0.4&lt;/version&gt;
    &lt;scope&gt;compile&lt;/scope&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
    &lt;artifactId&gt;camel-core&lt;/artifactId&gt;
    &lt;version&gt;2.15.1.redhat-620133&lt;/version&gt;
    &lt;classifier&gt;tests&lt;/classifier&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
    &lt;artifactId&gt;camel-jms&lt;/artifactId&gt;
    &lt;version&gt;2.15.1.redhat-620133&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;!-- the ActiveMQ client with connection pooling --&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
    &lt;artifactId&gt;activemq-client&lt;/artifactId&gt;
    &lt;version&gt;5.11.1&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
    &lt;artifactId&gt;activemq-camel&lt;/artifactId&gt;
    &lt;version&gt;5.11.1&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
    &lt;artifactId&gt;activemq-pool&lt;/artifactId&gt;
    &lt;version&gt;5.11.1&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;!-- the ActiveMQ broker is optional and can be removed if connecting to a remote broker only --&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
    &lt;artifactId&gt;activemq-broker&lt;/artifactId&gt;
    &lt;version&gt;5.11.1&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
    &lt;artifactId&gt;activemq-kahadb-store&lt;/artifactId&gt;
    &lt;version&gt;5.11.1&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;!-- logging --&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
    &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
    &lt;version&gt;1.7.10&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
    &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
    &lt;version&gt;1.7.10&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;log4j&lt;/groupId&gt;
    &lt;artifactId&gt;log4j&lt;/artifactId&gt;
    &lt;version&gt;1.2.17&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;!-- testing --&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
    &lt;artifactId&gt;camel-test-spring&lt;/artifactId&gt;
    &lt;version&gt;2.15.1.redhat-620133&lt;/version&gt;
    &lt;scope&gt;test&lt;/scope&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
      &lt;artifactId&gt;camel-core-xml&lt;/artifactId&gt;
      &lt;version&gt;2.15.1.redhat-620133&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;build&gt;
  &lt;defaultGoal&gt;install&lt;/defaultGoal&gt;
  
  &lt;plugins&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.5.1&lt;/version&gt;
      &lt;configuration&gt;
        &lt;source&gt;1.7&lt;/source&gt;
        &lt;target&gt;1.7&lt;/target&gt;
      &lt;/configuration&gt;
    &lt;/plugin&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.6&lt;/version&gt;
      &lt;configuration&gt;
        &lt;encoding&gt;UTF-8&lt;/encoding&gt;
      &lt;/configuration&gt;
    &lt;/plugin&gt;
  
    &lt;!-- allows the route to be ran via 'mvn camel:run' --&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
      &lt;artifactId&gt;camel-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.15.1.redhat-620133&lt;/version&gt;
    &lt;/plugin&gt;
  &lt;/plugins&gt;
  </code></pre>
  
  <p></p>
  
  <p></p>