I am trying to create my own EIP SU and fail to do so with this message:

Unrecognized xbean namespace mapping: http://servicemix.apache.org/eip/1.0

This problems seems to be known and the suggested solution does not work
(copying the EIP Jar file into serviemix /lib) because of class loading
issues. I built the "bridge" example and deployed it and it works great.
Even though my XBean definitions are the same it seems not do work. One
difference I saw so far is that the generated jbi.xml for the SA seems to be
wrong. I see that it references a incorrect component name and so I am
wondering why is this so:

<?xml version="1.0" encoding="UTF-8"?>
<jbi xmlns="http://java.sun.com/xml/ns/jbi"; version="1.0">
  <service-assembly>
    <identification>
      <name>scout.addressing.sa</name>
      <description>GEHC :: Scout :: Addressing :: Demo SA</description>
    </identification>
    <service-unit>
      <identification>
        <name>AddressingMediator.su</name>
        <description>AddressingMediator.su</description>
      </identification>
      <target>
        <artifacts-zip>AddressingMediator.su-0.0.1.zip</artifacts-zip>
        <component-name>servicemix-bean</component-name>
      </target>
    </service-unit>
    <service-unit>
      <identification>
        <name>AddressingOrchestration.su</name>
        <description>AddressingOrchestration.su</description>
      </identification>
      <target>
        <artifacts-zip>AddressingOrchestration.su-0.0.1.zip</artifacts-zip>
        <!-- This is the EIP SU and shouldn't it be servicemix-eip instead?
-->
        <component-name>scout-smx-jms</component-name>
      </target>
    </service-unit>
...
  </service-assembly>
</jbi>

The EIP XBean looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:eip="http://servicemix.apache.org/eip/1.0";
       xmlns:b="http://servicemix.apache.org/samples/bridge";>
  <eip:pipeline service="b:pipeline" endpoint="endpoint">
    <eip:transformer>
      <eip:exchange-target service="b:xslt" />
    </eip:transformer>
    <eip:target>
      <eip:exchange-target service="b:jms" />
    </eip:target>
  </eip:pipeline>
</beans>

Any ideas?

Thanks - Andy Schaefer
-- 
View this message in context: 
http://www.nabble.com/Servicemix-EIP-Namespace-Problems-tf4402754s12049.html#a12559860
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to