Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.01 KB

README.adoc

File metadata and controls

50 lines (32 loc) · 1.01 KB

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

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:

$ mvn compile

Now you’re ready to run the example.

How to run

You can run this example using

$ mvn camel:run

Help and contributions

If you hit any problem using Camel or have some feedback, then please let us know.

We also love contributors, so get involved :-)

The Camel riders!