I have an old http consumer JBI service unit. How do I achieve the same
functionality in Service Mix 5.0 as an OSGI bundle?
xbean.xml:
<beans>
<http:endpoint service="sm:responsereceiver"
endpoint="soap"
role="consumer"
locationURI="http://localhost:8192/receiveresponse/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-only"
soap="true"
targetService="sm:mypipeline"
/>
</beans>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mygroup</groupId>
<artifactId>myhttpconsumer</artifactId>
<packaging>jbi-service-unit</packaging>
<version>1.0-SNAPSHOT</version>
<name>Apache ServiceMix :: HTTP Service Unit</name>
<dependencies>
<dependency>
<groupId>org.apache.servicemix</groupId>
<artifactId>servicemix-http</artifactId>
<version>2013.01</version>
</dependency>
</dependencies>
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>jbi-maven-plugin</artifactId>
<version>4.5</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
--
View this message in context:
http://servicemix.396122.n5.nabble.com/how-to-implement-old-jbi-http-consumer-as-osgi-bundle-tp5720235.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.