Author: gertv
Date: Mon Nov 28 13:11:46 2011
New Revision: 1207126
URL: http://svn.apache.org/viewvc?rev=1207126&view=rev
Log:
SMX4-981: Reorganize examples by technology
Added:
servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/filtered-resources/README.txt
- copied, changed from r1207088,
servicemix/smx4/features/trunk/examples/README.txt
Modified:
servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/descriptors/unix-bin.xml
servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/descriptors/windows-bin.xml
servicemix/smx4/features/trunk/examples/README.txt
Modified:
servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/descriptors/unix-bin.xml
URL:
http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/descriptors/unix-bin.xml?rev=1207126&r1=1207125&r2=1207126&view=diff
==============================================================================
---
servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/descriptors/unix-bin.xml
(original)
+++
servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/descriptors/unix-bin.xml
Mon Nov 28 13:11:46 2011
@@ -73,13 +73,16 @@
<lineEnding>unix</lineEnding>
<filtered>true</filtered>
<fileMode>0644</fileMode>
+ <excludes>
+ <exclude>README.txt</exclude> <!-- don't include the main
README.txt file -->
+ </excludes>
<includes>
<include>**/README.txt</include>
</includes>
</fileSet>
</fileSets>
- <!-- pick a pom.xml file that includes the NMR and JBI examples -->
+ <!-- pick a pom.xml and README.txt file that includes the NMR and JBI
examples -->
<files>
<file>
<source>${basedir}/target/classes/pom.xml</source>
@@ -88,6 +91,13 @@
<fileMode>0644</fileMode>
<lineEnding>unix</lineEnding>
</file>
+ <file>
+ <source>${basedir}/target/classes/README.txt</source>
+ <outputDirectory>/examples/</outputDirectory>
+ <filtered>true</filtered>
+ <fileMode>0644</fileMode>
+ <lineEnding>unix</lineEnding>
+ </file>
</files>
</assembly>
Modified:
servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/descriptors/windows-bin.xml
URL:
http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/descriptors/windows-bin.xml?rev=1207126&r1=1207125&r2=1207126&view=diff
==============================================================================
---
servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/descriptors/windows-bin.xml
(original)
+++
servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/descriptors/windows-bin.xml
Mon Nov 28 13:11:46 2011
@@ -86,6 +86,13 @@
<fileMode>0644</fileMode>
<lineEnding>dos</lineEnding>
</file>
+ <file>
+ <source>${basedir}/target/classes/README.txt</source>
+ <outputDirectory>/examples/</outputDirectory>
+ <filtered>true</filtered>
+ <fileMode>0644</fileMode>
+ <lineEnding>dos</lineEnding>
+ </file>
</files>
</assembly>
Copied:
servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/filtered-resources/README.txt
(from r1207088, servicemix/smx4/features/trunk/examples/README.txt)
URL:
http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/filtered-resources/README.txt?p2=servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/filtered-resources/README.txt&p1=servicemix/smx4/features/trunk/examples/README.txt&r1=1207088&r2=1207126&rev=1207126&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/README.txt (original)
+++
servicemix/smx4/features/trunk/assemblies/apache-servicemix-jbi/src/main/filtered-resources/README.txt
Mon Nov 28 13:11:46 2011
@@ -19,30 +19,8 @@
WELCOME TO THE SERVICEMIX EXAMPLES
==================================
-List of Examples
-================
-
-- bridge
- Uses the original ServiceMix EIP component and JBI to create a
- protocol bridge that receives a message via HTTP, transforms it
- and sends it to a JMS queue.
-
- This example uses the older ServiceMix EIP implementation. The
- bridge-camel example (see below), on the other hand, uses Camel to
- achieve the same result.
-
-- bridge-camel
- Uses Camel and JBI to create a protocol bridge that receives a
- message via HTTP, transforms it and sends it to a JMS queue.
-
- This example uses the newer Camel integration framework.
-
-- camel
- Deploys a simple Camel EIP route, written in Java, as a JBI component.
-
-- camel-nmr
- Deploys two Camel EIP routes that communicate with each other via the
- ServiceMix NMR.
+Camel Examples
+==============
- camel-osgi
Deploys a Camel EIP route as an OSGi bundle. Configuration makes use
@@ -50,18 +28,18 @@ List of Examples
and the example demonstrates how to deploy the properties file from the
ServiceMix console.
-- cxf-camel-nmr
- Deploys a Camel route that transforms a message and passes it to a CXF
- web service via the ServiceMix NMR.
+- camel-blueprint
+ Deploys a Camel EIP route as an OSGi bundle. Configuration makes use
+ of the OSGi Configuration Admin service and uses a Blueprint XML file to
+ start the Camel routes.
+
+CXF examples
+============
- cxf-jaxrs
Creates a RESTful JAX-RS web service using CXF and exposes it using
the OSGi HTTP service.
-
-- cxf-nmr
- Creates a web service using CXF and Spring-DM, and publishes it to the
- ServiceMix NMR.
-
+
- cxf-osgi
Creates a web service using CXF and Spring-DM, and exposes it through
the OSGi HTTP service.
@@ -70,13 +48,60 @@ List of Examples
Uses CXF to create a web service enabled for WS-Addressing, and exposes
it through the OSGi HTTP service.
-- cxf-wsdl-first
- Publishes, as a JBI service assembly, a WSDL-defined web service created
- using CXF.
+- cxf-ws-rm
+ Uses CXF to create a web service enabled for WS-ReliableMessaging, and
exposes
+ it through the OSGi HTTP service.
+
+- cxf-ws-security
+ Uses CXF to create a web service enabled for WS-Security, and exposes
+ it through the OSGi HTTP service. It includes a custom CallbackHandler
implementation
+ to show you how to implement your own authentication logic.
+
+
+Karaf examples
+==============
+
+- branding
+ Builds the artifacts that allow you to re-brand Apache Karaf
+ (as e.g. we did in Apache ServiceMix).
+
+- dump
+ Demo that deploys a simple service into the OSGi Service Registry
+ using a Blueprint XML file.
+
+- web
+ Embeds Apache Karaf in a web application.
+
+
+NMR examples
+============
+
+- basic
+ Contains a client and endpoint bundle showing the basic functionality of the
NMR.
+
+ 1. /endpoint
+ Deploys a custom endpoint into the NMR registry.
+
+ 2. /client
+ Deploys a client class that interacts with the NMR to communicate with
+ the endpoint.
+
+- camel-nmr
+ Deploys two Camel EIP routes that communicate with each other via the
+ ServiceMix NMR, using Spring to define the Camel routes.
+
+- camel-nmr-blueprint
+ Deploys two Camel EIP routes that communicate with each other via the
+ ServiceMix NMR, using Blueprint to define the Camel routes.
+
+- cxf-camel-nmr
+ Deploys a Camel route that transforms a message and passes it to a CXF
+ web service via the ServiceMix NMR.
+
+- cxf-nmr
+ Creates a web service using CXF and Spring-DM, and publishes it to the
+ ServiceMix NMR.
-- cxf-wsdl-first-osgi-package
- Publishes, as OSGi bundles, a WSDL-defined web service created using CXF.
-
- interceptors
Contains two interceptor examples:
@@ -90,12 +115,38 @@ List of Examples
the ServiceMix log, the exchanges that are sent and delivered using
the NMR.
-- karaf-demos/web
- Embeds the ServiceMix Kernel in a web application.
-- nmr
- Exposes a simple NMR endpoint.
+JBI examples
+============
+
+- bridge
+ Uses the original ServiceMix EIP component and JBI to create a
+ protocol bridge that receives a message via HTTP, transforms it
+ and sends it to a JMS queue.
+
+ This example uses the older ServiceMix EIP implementation. The
+ bridge-camel example (see below), on the other hand, uses Camel to
+ achieve the same result.
+
+- bridge-camel
+ Uses Camel and JBI to create a protocol bridge that receives a
+ message via HTTP, transforms it and sends it to a JMS queue.
+
+ This example uses the newer Camel integration framework.
+
+- camel
+ Deploys a simple Camel EIP route, written in Java, as a JBI component.
+
+- cluster
+ Creates two child container instances with one JBI endpoint of each of them,
+ using the JBI clustering engine to interconnect the two endpoints.
+
+- cxf-wsdl-first
+ Publishes, as a JBI service assembly, a WSDL-defined web service created
+ using CXF.
+- cxf-wsdl-first-osgi-package
+ Publishes, as OSGi bundles, a WSDL-defined web service created using CXF.
- simple
Adds new endpoints using XML configuration files only.
Modified: servicemix/smx4/features/trunk/examples/README.txt
URL:
http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/README.txt?rev=1207126&r1=1207125&r2=1207126&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/README.txt (original)
+++ servicemix/smx4/features/trunk/examples/README.txt Mon Nov 28 13:11:46 2011
@@ -19,30 +19,8 @@
WELCOME TO THE SERVICEMIX EXAMPLES
==================================
-List of Examples
-================
-
-- bridge
- Uses the original ServiceMix EIP component and JBI to create a
- protocol bridge that receives a message via HTTP, transforms it
- and sends it to a JMS queue.
-
- This example uses the older ServiceMix EIP implementation. The
- bridge-camel example (see below), on the other hand, uses Camel to
- achieve the same result.
-
-- bridge-camel
- Uses Camel and JBI to create a protocol bridge that receives a
- message via HTTP, transforms it and sends it to a JMS queue.
-
- This example uses the newer Camel integration framework.
-
-- camel
- Deploys a simple Camel EIP route, written in Java, as a JBI component.
-
-- camel-nmr
- Deploys two Camel EIP routes that communicate with each other via the
- ServiceMix NMR.
+Camel Examples
+==============
- camel-osgi
Deploys a Camel EIP route as an OSGi bundle. Configuration makes use
@@ -50,18 +28,18 @@ List of Examples
and the example demonstrates how to deploy the properties file from the
ServiceMix console.
-- cxf-camel-nmr
- Deploys a Camel route that transforms a message and passes it to a CXF
- web service via the ServiceMix NMR.
+- camel-blueprint
+ Deploys a Camel EIP route as an OSGi bundle. Configuration makes use
+ of the OSGi Configuration Admin service and uses a Blueprint XML file to
+ start the Camel routes.
+
+CXF examples
+============
- cxf-jaxrs
Creates a RESTful JAX-RS web service using CXF and exposes it using
the OSGi HTTP service.
-
-- cxf-nmr
- Creates a web service using CXF and Spring-DM, and publishes it to the
- ServiceMix NMR.
-
+
- cxf-osgi
Creates a web service using CXF and Spring-DM, and exposes it through
the OSGi HTTP service.
@@ -70,35 +48,29 @@ List of Examples
Uses CXF to create a web service enabled for WS-Addressing, and exposes
it through the OSGi HTTP service.
-- cxf-wsdl-first
- Publishes, as a JBI service assembly, a WSDL-defined web service created
- using CXF.
-
-- cxf-wsdl-first-osgi-package
- Publishes, as OSGi bundles, a WSDL-defined web service created using CXF.
-
-- interceptors
- Contains two interceptor examples:
-
- 1. /endpoint
- Deploys a custom endpoint listener that captures and reports, to
- the ServiceMix log, when an endpoint registers and unregisters with
- the NMR.
-
- 2. /exchange
- Deploys a custom exchange listener that captures and reports, to
- the ServiceMix log, the exchanges that are sent and delivered using
- the NMR.
-
-- karaf-demos/web
- Embeds the ServiceMix Kernel in a web application.
+- cxf-ws-rm
+ Uses CXF to create a web service enabled for WS-ReliableMessaging, and
exposes
+ it through the OSGi HTTP service.
+
+- cxf-ws-security
+ Uses CXF to create a web service enabled for WS-Security, and exposes
+ it through the OSGi HTTP service. It includes a custom CallbackHandler
implementation
+ to show you how to implement your own authentication logic.
+
+
+Karaf examples
+==============
-- nmr
- Exposes a simple NMR endpoint.
+- branding
+ Builds the artifacts that allow you to re-brand Apache Karaf
+ (as e.g. we did in Apache ServiceMix).
+- dump
+ Demo that deploys a simple service into the OSGi Service Registry
+ using a Blueprint XML file.
-- simple
- Adds new endpoints using XML configuration files only.
+- web
+ Embeds Apache Karaf in a web application.
Prerequisites for Running the Examples