Search code examples
apache-camelgoogle-cloud-pubsub

Apache Camel and Google PuSub integration


I am new to Java/Camel/GCP and I'm attempting to create an Apache Camel project that integrates with Google PubSub. Basically, I have a topic and a payload and I need to be able to publish a message, queue messages, subscribe or handle any errors. Are there any good examples out there that do this or how do I approach this? Thanks!


Solution

  • To get started with the Apache camel integration with Cloud Pub/Sub, I would recommend going about implementing the unit test of the same which is mentioned in their official GitHub thread. To test it out in the local you can make use of the PubSub Emulator.

    All the examples for testing are available here.