Hi,

We are using Camel 3.11.7 in a Spring app, and trying to create a
simple route that reads from a Google PubSub subscription. The
connection to the subscription appears to be set up correctly, but we
never see any messages actually being pulled. There are no logs that
indicate any failures, so we are not sure what's going on.

The route looks like this:

from(testTopic)
.bean(TestBean.class)
.to("direct-vm:someFakeExchange");

where we've tried having testTopic be both a string representing the
subscription (in the google-pubsub:projectId:destinationName format),
and a GooglePubsubEndpoint object. We noticed that this version
requires a serviceAccountKey, and experimented with adding that as
well.

The TestBean processor should simply print the contents of the message
to the logs. But we are not seeing any of that logging either, which
further indicates that no messages are being read.

We have had success with the same route in an app that uses Camel
2.25.2, so we're wondering what might be causing this difference in
behavior.

Thanks!
Emily

-- 
This e-mail is private and confidential and is for the addressee only. If 
misdirected, please notify us by telephone, confirming that it has been 
deleted from your system and any hard copies destroyed. You are strictly 
prohibited from using, printing, distributing or disseminating it or any 
information contained in it save to the intended recipient.

Reply via email to