1
- These demos have been built and tested using Red Hat JBoss Fuse 6.1 .0 GA build 379
1
+ These demos have been built and tested using Red Hat JBoss Fuse 6.2 .0 build 123
2
2
3
3
Prerequisites
4
4
-------------
5
- You must have Apache Maven installed and you must configure your settings.xml file
6
- to use the following repository (both as a repository and as a plug-in repository):
7
-
8
- https://repo.fusesource.com/nexus/content/groups/public/
5
+ Before building and running this example you need:
9
6
7
+ * Maven 3.0.4 or higher
8
+ * JDK 1.6
9
+ * JBoss Fuse 6.2.0
10
10
11
11
Building the examples
12
12
---------------------
13
13
The examples are built using Apache Maven. To build all of the examples (and install the
14
- corresponding artifacts in your local Maven repository) enter the following commands from
14
+ corresponding artifacts in your local Maven repository) enter the following command from
15
15
the top-level directory of the examples:
16
16
17
- $ cd parent
18
- $ mvn install
19
- $ cd ..
20
17
$ mvn install
21
18
19
+ Configuring additional users
20
+ ----------------------------
21
+ Edit the ` $FUSE_HOME/etc/users.properties ` and add a user called ` admin ` :
22
+
23
+ admin=admin,admin
24
+
25
+ This will enable connecting to the embedded message broker.
26
+
22
27
23
28
Installing the customer-ws-osgi-bundle
24
29
--------------------------------------
25
- The ' customer-ws-osgi-bundle' deploys a simple web service listening on ServiceMix's
30
+ The ` customer-ws-osgi-bundle ` deploys a simple web service listening on ServiceMix's
26
31
HTTP port (by default, this is port 8181). To install and start the bundle, just do
27
32
28
33
karaf@root> install -s mvn:com.fusesource.byexample.cxf-webinars/customer-ws-osgi-bundle
29
34
30
- You will now find that the server is listening on ' http://localhost:8181/cxf/Customer'
31
- - you can verify this quickly by pointing your browser at ' http://localhost:8181/cxf/Customer?wsdl' .
32
- You can test the service by using a tool such as SoapUI from http://www.soapui.org.
35
+ You will now find that the server is listening on ` http://localhost:8181/cxf/Customer `
36
+ - you can verify this quickly by pointing your browser at ` http://localhost:8181/cxf/Customer?wsdl ` .
37
+ You can test the service by using a tool such as [ SoapUI] ( http://www.soapui.org )
33
38
34
39
Alternatively, you can install a bundle that creates a CXF client to this web
35
40
service.
@@ -48,7 +53,7 @@ Installing the camel-cxf routes
48
53
To install the camel-cxf demos into JBoss Fuse, you need to install the relevant OSGi bundle
49
54
and any prerequisite features.
50
55
51
- Note: You must stop the ' customer-ws-osgi-bundle' , if you have alread installed and started it,
56
+ Note: You must stop the ` customer-ws-osgi-bundle ` , if you have alread installed and started it,
52
57
otherwise you will get a port conflict when a camel-cxf demo is started.
53
58
54
59
For example, to install the camel-cxf POJO route, do
@@ -58,14 +63,11 @@ For example, to install the camel-cxf POJO route, do
58
63
59
64
To install the camel-cxf Payload route, do
60
65
61
- karaf@root> features:install camel-cxf
62
- karaf@root> features:install camel-velocity
66
+ karaf@root> features:install camel-cxf camel-velocity
63
67
karaf@root> install -s mvn:com.fusesource.byexample.cxf-webinars/customer-ws-camel-cxf-payload
64
68
65
69
Finally, to install the camel-cxf Provider route, do
66
70
67
- karaf@root> features:install camel-cxf
68
- karaf@root> features:install camel-velocity
71
+ karaf@root> features:install camel-cxf camel-velocity
69
72
karaf@root> install -s mvn:com.fusesource.byexample.cxf-webinars/customer-ws-camel-cxf-provider
70
73
71
-
0 commit comments