From commits-return-7115-apmail-servicemix-commits-archive=servicemix.apache.org@servicemix.apache.org Thu Jun 19 11:55:53 2008 Return-Path: Delivered-To: apmail-servicemix-commits-archive@www.apache.org Received: (qmail 45451 invoked from network); 19 Jun 2008 11:55:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jun 2008 11:55:53 -0000 Received: (qmail 90995 invoked by uid 500); 19 Jun 2008 11:55:55 -0000 Delivered-To: apmail-servicemix-commits-archive@servicemix.apache.org Received: (qmail 90973 invoked by uid 500); 19 Jun 2008 11:55:55 -0000 Mailing-List: contact commits-help@servicemix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicemix.apache.org Delivered-To: mailing list commits@servicemix.apache.org Received: (qmail 90964 invoked by uid 99); 19 Jun 2008 11:55:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2008 04:55:55 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2008 11:55:02 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C19052388A16; Thu, 19 Jun 2008 04:54:50 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r669457 - in /servicemix/smx4/features/trunk: ./ activemq/activemq-commands/ activemq/activemq-rm/ assembly/ assembly/src/main/descriptors/ camel/bundles/commons-io/ camel/bundles/commons-jxpath/ camel/bundles/jaxb-impl/ camel/servicemix-ca... Date: Thu, 19 Jun 2008 11:54:49 -0000 To: commits@servicemix.apache.org From: gertv@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080619115450.C19052388A16@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gertv Date: Thu Jun 19 04:54:48 2008 New Revision: 669457 URL: http://svn.apache.org/viewvc?rev=669457&view=rev Log: SMX4-29: Include examples with binary distribution and add readmes Added: servicemix/smx4/features/trunk/examples/camel-nmr/README.txt servicemix/smx4/features/trunk/examples/camel-osgi/README.txt servicemix/smx4/features/trunk/examples/cxf-camel-nmr/README.txt servicemix/smx4/features/trunk/examples/cxf-nmr/README.txt servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt servicemix/smx4/features/trunk/examples/cxf-osgi/client.html Modified: servicemix/smx4/features/trunk/ (props changed) servicemix/smx4/features/trunk/activemq/activemq-commands/ (props changed) servicemix/smx4/features/trunk/activemq/activemq-rm/ (props changed) servicemix/smx4/features/trunk/assembly/ (props changed) servicemix/smx4/features/trunk/assembly/pom.xml servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-src.xml servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-src.xml servicemix/smx4/features/trunk/camel/bundles/commons-io/ (props changed) servicemix/smx4/features/trunk/camel/bundles/commons-jxpath/ (props changed) servicemix/smx4/features/trunk/camel/bundles/jaxb-impl/ (props changed) servicemix/smx4/features/trunk/camel/servicemix-camel/ (props changed) servicemix/smx4/features/trunk/cxf/bundles/neethi/ (props changed) servicemix/smx4/features/trunk/cxf/bundles/saaj-impl/ (props changed) servicemix/smx4/features/trunk/cxf/bundles/wsdl4j/ (props changed) servicemix/smx4/features/trunk/cxf/bundles/xmlresolver/ (props changed) servicemix/smx4/features/trunk/cxf/bundles/xmlschema/ (props changed) servicemix/smx4/features/trunk/cxf/cxf-binding-nmr/ (props changed) servicemix/smx4/features/trunk/cxf/cxf-transport-nmr/ (props changed) servicemix/smx4/features/trunk/cxf/cxf-transport-osgi/ (props changed) servicemix/smx4/features/trunk/examples/camel-nmr/ (props changed) servicemix/smx4/features/trunk/examples/camel-nmr/src/main/resources/META-INF/spring/beans.xml servicemix/smx4/features/trunk/examples/camel-osgi/ (props changed) servicemix/smx4/features/trunk/examples/cxf-camel-nmr/ (props changed) servicemix/smx4/features/trunk/examples/cxf-nmr/ (props changed) servicemix/smx4/features/trunk/examples/cxf-osgi/ (props changed) servicemix/smx4/features/trunk/examples/itests/ (props changed) servicemix/smx4/features/trunk/management/acegi/ (props changed) servicemix/smx4/features/trunk/management/core/ (props changed) servicemix/smx4/features/trunk/transaction/bundles/howl/ (props changed) servicemix/smx4/features/trunk/transaction/bundles/jencks/ (props changed) servicemix/smx4/features/trunk/transaction/transaction/ (props changed) servicemix/smx4/features/trunk/war/bundles/jasper/ (props changed) servicemix/smx4/features/trunk/war/deployer/ (props changed) Propchange: servicemix/smx4/features/trunk/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -5,5 +5,4 @@ .classpath .project .settings - - +velocity.log Propchange: servicemix/smx4/features/trunk/activemq/activemq-commands/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -1,3 +1,4 @@ +bin target *.iml *.ipr Propchange: servicemix/smx4/features/trunk/activemq/activemq-rm/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -1,3 +1,4 @@ +bin target *.iml *.ipr Propchange: servicemix/smx4/features/trunk/assembly/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -5,4 +5,4 @@ .classpath .project .settings - +velocity.log Modified: servicemix/smx4/features/trunk/assembly/pom.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/pom.xml?rev=669457&r1=669456&r2=669457&view=diff ============================================================================== --- servicemix/smx4/features/trunk/assembly/pom.xml (original) +++ servicemix/smx4/features/trunk/assembly/pom.xml Thu Jun 19 04:54:48 2008 @@ -560,7 +560,7 @@ org.apache.maven.plugins maven-assembly-plugin - 2.1 + 2.2-beta-2 unix-bin Modified: servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml?rev=669457&r1=669456&r2=669457&view=diff ============================================================================== --- servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml (original) +++ servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml Thu Jun 19 04:54:48 2008 @@ -26,6 +26,19 @@ target/dependencies/unix/apache-servicemix-kernel-${servicemix.kernel.version} / + + bin/* + + + + + + target/dependencies/unix/apache-servicemix-kernel-${servicemix.kernel.version} + / + + bin/* + + 0755 @@ -77,6 +90,17 @@ 0755 + + + ../examples + true + /examples/ + unix + + **/itests/** + **/target/** + + @@ -84,14 +108,14 @@ ${basedir}/target/maven-shared-archive-resources/META-INF/LICENSE / LICENSE.txt - 420 + 0644 unix ${basedir}/target/maven-shared-archive-resources/META-INF/NOTICE / NOTICE.txt - 420 + 0644 unix @@ -101,6 +125,7 @@ /system + ${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension} false runtime Modified: servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-src.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-src.xml?rev=669457&r1=669456&r2=669457&view=diff ============================================================================== --- servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-src.xml (original) +++ servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-src.xml Thu Jun 19 04:54:48 2008 @@ -23,7 +23,7 @@ - .. + ${basedir}/.. / BUILDING.txt @@ -35,7 +35,7 @@ - .. + ${basedir}/.. src **/*.jpeg @@ -62,7 +62,7 @@ - .. + ${basedir}/.. src **/* @@ -109,14 +109,14 @@ ${basedir}/target/maven-shared-archive-resources/META-INF/LICENSE / LICENSE.txt - 420 + 0644 unix ${basedir}/target/maven-shared-archive-resources/META-INF/NOTICE / NOTICE.txt - 420 + 0644 unix Modified: servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml?rev=669457&r1=669456&r2=669457&view=diff ============================================================================== --- servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml (original) +++ servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml Thu Jun 19 04:54:48 2008 @@ -68,6 +68,17 @@ / + + + ../examples + true + /examples/ + dos + + **/itests/** + **/target/** + + @@ -75,14 +86,14 @@ ${basedir}/target/maven-shared-archive-resources/META-INF/LICENSE / LICENSE.txt - 420 + 0644 unix ${basedir}/target/maven-shared-archive-resources/META-INF/NOTICE / NOTICE.txt - 420 + 0644 unix @@ -92,6 +103,7 @@ /system + ${artifact.artifactId}-${artifact.baseVersion}${dashClassifier?}.${artifact.extension} false runtime Modified: servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-src.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-src.xml?rev=669457&r1=669456&r2=669457&view=diff ============================================================================== --- servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-src.xml (original) +++ servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-src.xml Thu Jun 19 04:54:48 2008 @@ -23,7 +23,7 @@ - .. + ${basedir}/.. / BUILDING.txt @@ -35,7 +35,7 @@ - .. + ${basedir}/.. src **/*.jpeg @@ -62,7 +62,7 @@ - .. + ${basedir}/.. src **/* @@ -110,14 +110,14 @@ ${basedir}/target/maven-shared-archive-resources/META-INF/LICENSE / LICENSE.txt - 420 + 0644 unix ${basedir}/target/maven-shared-archive-resources/META-INF/NOTICE / NOTICE.txt - 420 + 0644 unix Propchange: servicemix/smx4/features/trunk/camel/bundles/commons-io/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -0,0 +1,3 @@ +.project +target +bin Propchange: servicemix/smx4/features/trunk/camel/bundles/commons-jxpath/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -0,0 +1,3 @@ +.project +target +bin Propchange: servicemix/smx4/features/trunk/camel/bundles/jaxb-impl/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -5,4 +5,4 @@ .classpath .project .settings - +bin Propchange: servicemix/smx4/features/trunk/camel/servicemix-camel/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -7,5 +7,4 @@ .classpath .project .settings - - +bin Propchange: servicemix/smx4/features/trunk/cxf/bundles/neethi/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -5,3 +5,4 @@ .classpath .project .settings +bin Propchange: servicemix/smx4/features/trunk/cxf/bundles/saaj-impl/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -5,5 +5,4 @@ .classpath .project .settings - - +bin Propchange: servicemix/smx4/features/trunk/cxf/bundles/wsdl4j/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -5,5 +5,5 @@ .classpath .project .settings - +bin Propchange: servicemix/smx4/features/trunk/cxf/bundles/xmlresolver/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -5,3 +5,4 @@ .classpath .project .settings +bin Propchange: servicemix/smx4/features/trunk/cxf/bundles/xmlschema/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -5,5 +5,5 @@ .classpath .project .settings - +bin Propchange: servicemix/smx4/features/trunk/cxf/cxf-binding-nmr/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -5,5 +5,5 @@ .classpath .project .settings - +bin Propchange: servicemix/smx4/features/trunk/cxf/cxf-transport-nmr/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -5,5 +5,5 @@ .classpath .project .settings - +bin Propchange: servicemix/smx4/features/trunk/cxf/cxf-transport-osgi/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -5,3 +5,4 @@ .classpath .project .settings +bin Propchange: servicemix/smx4/features/trunk/examples/camel-nmr/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -1,3 +1,4 @@ +bin target *.iml *.ipr Added: servicemix/smx4/features/trunk/examples/camel-nmr/README.txt URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/camel-nmr/README.txt?rev=669457&view=auto ============================================================================== --- servicemix/smx4/features/trunk/examples/camel-nmr/README.txt (added) +++ servicemix/smx4/features/trunk/examples/camel-nmr/README.txt Thu Jun 19 04:54:48 2008 @@ -0,0 +1,74 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +Welcome to the ServiceMix camel nmr example +========================================== + +This example demonstrates using Apache Camel to deploy EIP routes in +Servicemix. + +Quick steps to install the sample +--------------------------------- + +Launch the ServiceMix Kernel by running + bin/servicemix +in the root dir of this distribution. + +When inside the console, if you haven't already done so, addUrls for the +nmr and kernel features: + features addUrl mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${servicemix.nmr.version}/xml/features + features addUrl mvn:org.apache.servicemix.features/apache-servicemix/${version}/xml/features + +Next install the examples-camel-nmr feature: + features install examples-camel-nmr + +If you have all the bundles available in your local repo, the installation +of the example will be very fast, otherwise it may take some time to +download everything needed. + +Testing the example +------------------- + +Once the example feature is installed, periodic events are routed to the +NMR to the transform method of the MyTransform class and finally to the +ExampleRouter log endpoint. The transform method will print the messages +to the console: + +>>>> MyTransform set body: Tue Jun 10 16:56:47 NDT 2008 + +You can view the route configuration in META-INF/spring/beans.xml. + +Finally, uninstall the examples-camel-nmr feature: + features uninstall examples-camel-nmr + +As well, you can view the log entries in the ServiceMix log: + log d + +How does it work? +----------------- + +The installation leverages ServiceMix Kernel by installing what's called +'features'. You can see the features definition file using the following +command inside the ServiceMix console: + +utils cat mvn:org.apache.servicemix.features/apache-servicemix/${version}/xml/features + +The list of available features can be obtained using: + +features list + + Modified: servicemix/smx4/features/trunk/examples/camel-nmr/src/main/resources/META-INF/spring/beans.xml URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/camel-nmr/src/main/resources/META-INF/spring/beans.xml?rev=669457&r1=669456&r2=669457&view=diff ============================================================================== --- servicemix/smx4/features/trunk/examples/camel-nmr/src/main/resources/META-INF/spring/beans.xml (original) +++ servicemix/smx4/features/trunk/examples/camel-nmr/src/main/resources/META-INF/spring/beans.xml Thu Jun 19 04:54:48 2008 @@ -29,7 +29,7 @@ - + Propchange: servicemix/smx4/features/trunk/examples/camel-osgi/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -1,3 +1,4 @@ +bin target *.iml *.ipr Added: servicemix/smx4/features/trunk/examples/camel-osgi/README.txt URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/camel-osgi/README.txt?rev=669457&view=auto ============================================================================== --- servicemix/smx4/features/trunk/examples/camel-osgi/README.txt (added) +++ servicemix/smx4/features/trunk/examples/camel-osgi/README.txt Thu Jun 19 04:54:48 2008 @@ -0,0 +1,73 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +Welcome to the ServiceMix camel osgi example +========================================== + +This example demonstrates using Apache Camel to deploy EIP routes in +Servicemix. + +Quick steps to install the sample +--------------------------------- + +Launch the ServiceMix Kernel by running + bin/servicemix +in the root dir of this distribution. + +When inside the console, if you haven't already done so, addUrls for the +nmr and kernel features: + features addUrl mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${servicemix.nmr.version}/xml/features + features addUrl mvn:org.apache.servicemix.features/apache-servicemix/${version}/xml/features + +Next install the examples-camel-osgi feature: + features install examples-camel-osgi + +If you have all the bundles available in your local repo, the installation +of the example will be very fast, otherwise it may take some time to +download everything needed. + +Testing the example +------------------- + +Once the example feature is installed, periodic events are routed to the +transform method of the MyTransform class which prints output to the +console: + +>>>> MyTransform set body: Tue Jun 10 16:56:47 NDT 2008 + +You can view the route configuration in META-INF/spring/beans.xml. + +Finally, uninstall the examples-camel-osgi feature: + features uninstall examples-camel-osgi + +As well, you can view ExampleRouter log entries in the ServiceMix log: + log d + +How does it work? +----------------- + +The installation leverages ServiceMix Kernel by installing what's called +'features'. You can see the features definition file using the following +command inside the ServiceMix console: + +utils cat mvn:org.apache.servicemix.features/apache-servicemix/${version}/xml/features + +The list of available features can be obtained using: + +features list + + Propchange: servicemix/smx4/features/trunk/examples/cxf-camel-nmr/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -1,3 +1,4 @@ +bin target *.iml *.ipr Added: servicemix/smx4/features/trunk/examples/cxf-camel-nmr/README.txt URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-camel-nmr/README.txt?rev=669457&view=auto ============================================================================== --- servicemix/smx4/features/trunk/examples/cxf-camel-nmr/README.txt (added) +++ servicemix/smx4/features/trunk/examples/cxf-camel-nmr/README.txt Thu Jun 19 04:54:48 2008 @@ -0,0 +1,69 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +Welcome to the ServiceMix cxf camel nmr example +========================================== + +This example demonstrates the use of CXF and CAMEL exposed to the ServiceMix +nmr. + +Quick steps to install the sample +--------------------------------- + +Launch the ServiceMix Kernel by running + bin/servicemix +in the root dir of this distribution. + +When inside the console, just run the following commands to install the +example: + + features addUrl mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${servicemix.nmr.version}/xml/features + features addUrl mvn:org.apache.servicemix.features/apache-servicemix/${version}/xml/features + features install examples-cxf-camel-nmr + +If you have all the bundles available in your local repo, the installation +of the example will be very fast, otherwise it may take some time to +download everything needed. + +Testing the example +------------------- + +When the example is installed, periodic soap messages are displayed by +the transform method of the MyTransform class. These messages are routed +to the CXF endpoint, and the responses are routed to the display method of +the MyTransform class. + +Finally, uninstall the examples-camel-nmr feature: + features uninstall examples-cxf-camel-nmr + +You can also examine the ServiceMix log to see the activity: + log display + +How does it work? +----------------- + +The installation leverages ServiceMix Kernel by installing what's called +'features'. You can see the features definition file using the following +command inside ServiceMix console: + +utils cat mvn:org.apache.servicemix.features/apache-servicemix/${version}/xml/features + +The list of available features can be obtained using: + +features list + + Propchange: servicemix/smx4/features/trunk/examples/cxf-nmr/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -1,3 +1,4 @@ +bin target *.iml *.ipr Added: servicemix/smx4/features/trunk/examples/cxf-nmr/README.txt URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-nmr/README.txt?rev=669457&view=auto ============================================================================== --- servicemix/smx4/features/trunk/examples/cxf-nmr/README.txt (added) +++ servicemix/smx4/features/trunk/examples/cxf-nmr/README.txt Thu Jun 19 04:54:48 2008 @@ -0,0 +1,67 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +Welcome to the ServiceMix cxf nmr example +========================================== + +This example leverages CXF and Spring-DM to publish a web service to the nmr. + +Quick steps to install the sample +--------------------------------- + +Launch the ServiceMix Kernel by running + bin/servicemix +in the root dir of this distribution. + +When inside the console, just run the following commands to install the +example: + + features addUrl mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${servicemix.nmr.version}/xml/features + features addUrl mvn:org.apache.servicemix.features/apache-servicemix/${version}/xml/features + features install examples-cxf-nmr + +If you have all the bundles available in your local repo, the installation +of the example will be very fast, otherwise it may take some time to +download everything needed. + +Testing the example +------------------- + +When the feature is installed, output for publishing the cxf endpoint +is displayed to the console: + +Jun 16, 2008 12:29:29 AM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass +INFO: Creating Service {http://cxf.examples.servicemix.apache.org/}HelloWorldImplService from class org.apache.servicemix.examples.cxf.HelloWorld +Jun 16, 2008 12:29:30 AM org.apache.cxf.configuration.spring.ConfigurerImpl getBeanName +INFO: Could not determine bean name for instance of class org.apache.servicemix.cxf.transport.nmr.NMRDestination. +Jun 16, 2008 12:29:30 AM org.apache.cxf.endpoint.ServerImpl initDestination +INFO: Setting the server's publish address to be nmr:HelloWorld + +How does it work? +----------------- + +The installation leverages ServiceMix Kernel by installing what's called +'features'. You can see the features definition file using the following +command inside ServiceMix console: + +utils cat mvn:org.apache.servicemix.features/apache-servicemix/${version}/xml/features + +The list of available features can be obtained using: + +features list + + Propchange: servicemix/smx4/features/trunk/examples/cxf-osgi/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -1,3 +1,4 @@ +bin target *.iml *.ipr Added: servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt?rev=669457&view=auto ============================================================================== --- servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt (added) +++ servicemix/smx4/features/trunk/examples/cxf-osgi/README.txt Thu Jun 19 04:54:48 2008 @@ -0,0 +1,74 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +Welcome to the ServiceMix cxf osgi example +========================================== + +This example leverages CXF and Spring-DM to create a web service and expose +it through the OSGi HTTP Service. + +Quick steps to install the sample +--------------------------------- + +Launch the ServiceMix Kernel by running + bin/servicemix +in the root dir of this distribution. + +When inside the console, just run the following commands to install the +example: + + features addUrl mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${servicemix.nmr.version}/xml/features + features addUrl mvn:org.apache.servicemix.features/apache-servicemix/${version}/xml/features + features install examples-cxf-osgi + +If you have all the bundles available in your local repo, the installation +of the example will be very fast, otherwise it may take some time to +download everything needed. + +Testing the example +------------------- + +When the feature is installed, output for publishing the cxf endpoint +is displayed to the console. + +Now, just open your browser and go to the following url: + +http://localhost:8080/cxf/HelloWorld?wsdl + +It should display the WSDL of the service (if you use Safari, make sure to +right click the window and select 'Show Source', else the page will be blank). +Or you can also test it from ServiceMix console using" + +utils cat http://localhost:8080/cxf/HelloWorld?wsdl + +You can also open the client.html page in a browser to try sending a request +to the service. + +How does it work? +----------------- + +The installation leverages ServiceMix Kernel by installing what's called +'features'. You can see the features definition file using the following +command inside ServiceMix console: + +utils cat mvn:org.apache.servicemix.features/apache-servicemix/${version}/xml/features + +The list of available features can be obtained using: + +features list + + Added: servicemix/smx4/features/trunk/examples/cxf-osgi/client.html URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/cxf-osgi/client.html?rev=669457&view=auto ============================================================================== --- servicemix/smx4/features/trunk/examples/cxf-osgi/client.html (added) +++ servicemix/smx4/features/trunk/examples/cxf-osgi/client.html Thu Jun 19 04:54:48 2008 @@ -0,0 +1,136 @@ + + + +ServiceMix 4 CXF-OSGi Example + + + + + +

ServiceMix 4 CXF-OSGi Example

+ +

Welcome to the CXF-OSGi example for ServiceMix 4

+ +

Perform a POST into the HTTP binding. This requires JavaScript.

+

Target: .

+ + + + + + + + + +
+ + + +
+ +
+ + Propchange: servicemix/smx4/features/trunk/examples/itests/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -1,3 +1,4 @@ +bin target *.iml *.ipr Propchange: servicemix/smx4/features/trunk/management/acegi/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -1,3 +1,4 @@ +bin target *.iml *.ipr Propchange: servicemix/smx4/features/trunk/management/core/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -1,3 +1,4 @@ +bin target runner *.iml Propchange: servicemix/smx4/features/trunk/transaction/bundles/howl/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -5,5 +5,5 @@ .classpath .project .settings - +bin Propchange: servicemix/smx4/features/trunk/transaction/bundles/jencks/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -1,3 +1,4 @@ +bin target *.iml *.ipr Propchange: servicemix/smx4/features/trunk/transaction/transaction/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -6,3 +6,4 @@ .classpath .project .settings +bin Propchange: servicemix/smx4/features/trunk/war/bundles/jasper/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -1,3 +1,4 @@ +bin target *.iml target Propchange: servicemix/smx4/features/trunk/war/deployer/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Jun 19 04:54:48 2008 @@ -1,3 +1,4 @@ +bin target *.iml target