blob: 36b4b07260872663e1ae223c111c6debd2bb3d90 [file] [log] [blame]
== Camel Main Example Couchbase
This example shows how to use the Camel Main module
to define a route from Couchbase to Log.
Set your application.properties options correctly.
You'll need also a running couchbase server.
=== Setting up the Couchbase Container
First run the container
[source,sh]
----
docker run -d --name db -p 8091-8094:8091-8094 -p 11210:11210 couchbase:7.0.3
----
Now go to localhost:8091 and create a new cluster with username/password admin/password
Use the sample bucket beer-sample to populate the bucket.
=== Build
You will need to compile this example first:
[source,sh]
----
$ mvn compile
----
Now you're ready to run the example.
=== How to run
You can run this example using
[source,sh]
----
$ mvn camel:run
----
=== Help and contributions
If you hit any problem using Camel or have some feedback, then please
https://camel.apache.org/community/support/[let us know].
We also love contributors, so
https://camel.apache.org/community/contributing/[get involved] :-)
The Camel riders!