THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
 
  Apache ServiceMix NMR #usernavbar() #printableicon() #feedicon()  
When you contribute content to this Wiki, you grant a license to the ASF for inclusion in ASF works (as per the Apache Software License).
  3. Deploying JBI components without the JBI packaging

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

3. Deploying JBI components without the JBI packaging

It does not work yet

In ServiceMix Kernel (>= 1.0-m3-SNAPSHOT), run the following commands:

features addUrl mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.0-m2-SNAPSHOT/xml/features
features install jbi
osgi install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.wsdl4j-1.6.1/4.0-m1
osgi install -s mvn:org.apache.xbean/xbean-spring/3.4-SNAPSHOT
osgi install -s mvn:org.apache.servicemix/servicemix-services/3.3-SNAPSHOT
osgi install -s mvn:org.apache.servicemix/servicemix-common/3.3-SNAPSHOT
osgi install -s mvn:org.apache.servicemix/servicemix-eip/3.3-SNAPSHOT

Then, create the following file:

deploy/test.xml
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:eip="http://servicemix.apache.org/eip/1.0"
       xmlns:test="urn:test"
       xmlns:osgi="http://www.springframework.org/schema/osgi"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="
	 http://www.springframework.org/schema/beans
	 http://www.springframework.org/schema/beans/spring-beans.xsd
	 http://www.springframework.org/schema/osgi
	 http://www.springframework.org/schema/osgi/spring-osgi.xsd
	 http://servicemix.apache.org/eip/1.0
	 http://servicemix.apache.org/eip/1.0/servicemix-eip.xsd">

  <bean class="org.apache.servicemix.common.osgi.EndpointExporter" />

  <eip:wire-tap id="eip-endpoint" service="test:wireTap" endpoint="endpoint">
    <eip:inListener>
      <eip:exchange-target service="test:listener" />
    </eip:inListener>
    <eip:target>
      <eip:exchange-target service="test:target" />
    </eip:target>
  </eip:wire-tap>

</beans>

#top

  • No labels