From 15acdb6804c3cec601843677db34a9fa09ff552b Mon Sep 17 00:00:00 2001 From: Wim Verreydt Date: Fri, 22 Mar 2013 08:44:39 +0100 Subject: [PATCH 1/2] Update to Fuse ESB 7.1.0 --- .gitignore | 6 +++ README.md | 38 ++++++++++--------- pom.xml | 4 +- .../spring/ws-camel-client-context.xml | 4 +- 4 files changed, 31 insertions(+), 21 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1fabcf7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +target +*.i?? +.idea +.settings +.project +.classpath \ No newline at end of file diff --git a/README.md b/README.md index 98eb8c7..89981e9 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ There are two additional parent projects that simplify the Maven project configu Prerequisites ============= -Set up ServiceMix by downloading the latest (4.4.1-fuse-01-13 or above) version from [FuseSource](http://fusesource.com/products/enterprise-servicemix/). The installation guide can be reached from the Documentation tab on that page. +Set up Fuse ESB by downloading the latest (7.1.0) version from [FuseSource](http://fusesource.com/downloads/). The installation guide can be reached from the Documentation tab on that page. Ensure that Maven is set up on your system. @@ -40,27 +40,31 @@ Download this project and run Start up ServiceMix - $SERVICEMIX_HOME> bin/servicemix console - - ____ _ __ __ _ - / ___| ___ _ ____ _(_) ___ ___| \/ (_)_ __ - \___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ / - ___) | __/ | \ V /| | (_| __/ | | | |> < - |____/ \___|_| \_/ |_|\___\___|_| |_|_/_/\_\ - - Apache ServiceMix (4.4.1-fuse-01-13) - - Hit '' for a list of available commands - and '[cmd] --help' for help on a specific command. + $FUSE_ESB_HOME> bin/servicemix console + + _ ____ ______ + | | _ \ | ____| + | | |_) | ___ ___ ___ | |__ _ _ ___ ___ + _ | | _ < / _ \/ __/ __| | __| | | / __|/ _ \ + | |__| | |_) | (_) \__ \__ \ | | | |_| \__ \ __/ + \____/|____/ \___/|___/___/ |_| \__,_|___/\___| + + JBoss Fuse (6.0.0.redhat-019) + http://www.redhat.com/products/jbossenterprisemiddleware/fuse/ + + Hit '' for a list of available commands + and '[cmd] --help' for help on a specific command. + Hit '' or 'osgi:shutdown' to shutdown JBoss Fuse. + Install the `smx-ws-examples` features file. This gets pulled out from your local Maven repository, and defines which bundles you mean to install for the example project. - karaf@root> features:addurl mvn:com.fusesource.examples/ws-features/1.0-SNAPSHOT/xml/features + FuseESB:karaf@root> features:addurl mvn:com.fusesource.examples/ws-features/1.0-SNAPSHOT/xml/features Install all of the necessary OSGi bundles by installing the `smx-ws-examples` feature - karaf@root> features:install smx-ws-examples - karaf@root> list | grep Examples + FuseESB:karaf@root> features:install smx-ws-examples + FuseESB:karaf@root> list | grep Examples [ 225] [Active ] [ ] [Started] [ 60] ServiceMix Web Service Examples :: greeter-api (1.0.0.SNAPSHOT) [ 226] [Active ] [ ] [Started] [ 60] ServiceMix Web Service Examples :: ws-cxf-service (1.0.0.SNAPSHOT) [ 227] [Active ] [ ] [Started] [ 60] ServiceMix Web Service Examples :: ws-camel-service (1.0.0.SNAPSHOT) @@ -69,7 +73,7 @@ Install all of the necessary OSGi bundles by installing the `smx-ws-examples` fe Tail the logs and you should see the CXF invocations ticking over. - karaf@root> log:tail + FuseESB:karaf@root> log:tail You can also verify that the web services are available by accessing the following from your browser: diff --git a/pom.xml b/pom.xml index bf9b0f8..4ec1a9b 100644 --- a/pom.xml +++ b/pom.xml @@ -40,8 +40,8 @@ ServiceMix Web Service Examples http://repo.fusesource.com/maven2 - 2.8.3 - 2.4.0 + 2.10.0.fuse-71-047 + 2.6.0.fuse-71-047 1.6.1 1.2.16 4.7 diff --git a/ws-camel-client/src/main/resources/META-INF/spring/ws-camel-client-context.xml b/ws-camel-client/src/main/resources/META-INF/spring/ws-camel-client-context.xml index b36d1ee..ece8d22 100644 --- a/ws-camel-client/src/main/resources/META-INF/spring/ws-camel-client-context.xml +++ b/ws-camel-client/src/main/resources/META-INF/spring/ws-camel-client-context.xml @@ -26,8 +26,8 @@ - - http://examples.fusesource.com/greeter/greetMe + + greetMe My Favourite Web Service From 6e0916795abb8a55a17a4aabe9750103368b080e Mon Sep 17 00:00:00 2001 From: Wim Verreydt Date: Fri, 22 Mar 2013 09:14:54 +0100 Subject: [PATCH 2/2] update to JBoss Fuse 6.0.0 --- README.md | 18 +++++++++--------- pom.xml | 27 +++++++++++++++++++++++++-- 2 files changed, 34 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 89981e9..72ce6df 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -This projects contains a set of OSGi bundles that demonstrate web services in ServiceMix using CXF and Camel. +This projects contains a set of OSGi bundles that demonstrate web services in JBoss Fuse using CXF and Camel. The following patterns are shown: @@ -28,7 +28,7 @@ There are two additional parent projects that simplify the Maven project configu Prerequisites ============= -Set up Fuse ESB by downloading the latest (7.1.0) version from [FuseSource](http://fusesource.com/downloads/). The installation guide can be reached from the Documentation tab on that page. +Set up JBoss Fuse by downloading the latest (6.0.0) version from [Red Hat](https://access.redhat.com/jbossnetwork/). The installation guide can be reached from the Documentation tab on that page. Ensure that Maven is set up on your system. @@ -38,9 +38,9 @@ Download this project and run smx-ws-examples> mvn clean install -Start up ServiceMix +Start up Fuse - $FUSE_ESB_HOME> bin/servicemix console + $JBOSS_FUSE_HOME> bin/fuse console _ ____ ______ | | _ \ | ____| @@ -59,12 +59,12 @@ Start up ServiceMix Install the `smx-ws-examples` features file. This gets pulled out from your local Maven repository, and defines which bundles you mean to install for the example project. - FuseESB:karaf@root> features:addurl mvn:com.fusesource.examples/ws-features/1.0-SNAPSHOT/xml/features + JBossFuse:karaf@root> features:addurl mvn:com.fusesource.examples/ws-features/1.0-SNAPSHOT/xml/features Install all of the necessary OSGi bundles by installing the `smx-ws-examples` feature - FuseESB:karaf@root> features:install smx-ws-examples - FuseESB:karaf@root> list | grep Examples + JBossFuse:karaf@root> features:install smx-ws-examples + JBossFuse:karaf@root> list | grep Examples [ 225] [Active ] [ ] [Started] [ 60] ServiceMix Web Service Examples :: greeter-api (1.0.0.SNAPSHOT) [ 226] [Active ] [ ] [Started] [ 60] ServiceMix Web Service Examples :: ws-cxf-service (1.0.0.SNAPSHOT) [ 227] [Active ] [ ] [Started] [ 60] ServiceMix Web Service Examples :: ws-camel-service (1.0.0.SNAPSHOT) @@ -73,10 +73,10 @@ Install all of the necessary OSGi bundles by installing the `smx-ws-examples` fe Tail the logs and you should see the CXF invocations ticking over. - FuseESB:karaf@root> log:tail + JBossFuse:karaf@root> log:Display You can also verify that the web services are available by accessing the following from your browser: * `ws-cxf-service` - http://localhost:9090/greeterImpl?wsdl * `ws-camel-service` - http://localhost:9090/greeter?wsdl -* `ws-camel-proxy` - http://localhost:9091/greeterProxy?wsdl +* `ws-camel-proxy` - http://localhost:9091/greeterProxy?wsdl diff --git a/pom.xml b/pom.xml index 4ec1a9b..233e414 100644 --- a/pom.xml +++ b/pom.xml @@ -39,9 +39,10 @@ ServiceMix Web Service Examples http://repo.fusesource.com/maven2 + http://repo.fusesource.com/nexus/content/groups/ea/ - 2.10.0.fuse-71-047 - 2.6.0.fuse-71-047 + 2.10.0.redhat-60020 + 2.6.0.redhat-60020 1.6.1 1.2.16 4.7 @@ -57,6 +58,17 @@ fusesource ${fusesource-repo} + + fusesource.ea + FuseSource Early Access + ${fusesource-ea-repo} + + false + + + true + + @@ -64,6 +76,17 @@ fusesource ${fusesource-repo} + + fusesource.ea + FuseSource Early Access + ${fusesource-ea-repo} + + false + + + true + +