blob: 3f34b9d4338d575ef32801c28a8ea4b4c8e82f6d [file] [log] [blame]
== Camel Example Google PubSub Endpoint DSL
This example shows how to use the endpoint DSL in your Camel routes
to define endpoints using type safe fluent builders, which are Java methods
that are compiled.
Notice how you can configure Camel in the `application.properties` file.
=== Setting up the google pubsub topic
- You'll need to
- Create a project and save the projectId
- Create a topic and save the name
- Create a subscription to that topic and save the subscription name
- Update the application.properties accordingly
=== Build
First compile the example by executing:
[source,sh]
----
$ mvn compile
----
=== 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!